I have an event handler (event:ResultEvent) that can return 1 of 2 types. Is there an actionscript3 function to check the return type? sort of
(event:ResultEvent)
if (type(event.result) == ProxyObject) { // do something } else { // do something else }
You should be able to use
if (event.result is ProxyObject) {}
More details here .