Hi All,

flash.util.Proxy/mx.utils.ObjectProxy classes allow us to override
properties access, methods call etc. Is it possible to override type
cast operations at runtime, like IUnknown:QueryInterface in COM? For
example:


public class B {}

...

var o:* = new ObjectProxy(new B());
var b:B = o as B;
trace(b); // <- writes "null"
   // but I am looking for solution to
   // hook type cast operation as well
   // in other words need in ActionScript 3
   // "universal delegate"

--
Thanks,
Vadim Melnik.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to