RE: [flexcoders] Re: How to override type cast operator @ runtime?

2006-04-20 Thread Peter Farland
Well, you can't have ObjectTracer cast to A or B so it's not going to be exactly what you want. But if the API were made to accept Object in the relevant places, then you could do something like this: package com.mycompany { import flash.util.Proxy; import flash.util.flash_proxy; use names

Re: [flexcoders] Re: How to override type cast operator @ runtime?

2006-04-19 Thread Johannes Nel
i have seen this eact behaviour when deserilazing something from a bytearray as well :(On 4/19/06, Vadim Melnik < [EMAIL PROTECTED]> wrote:>> have you tried an explicit coercion? << Yep, it produced runtime error:TypeError: Error #1034: Type Coercion failed: cannot convertmx.utils::[EMAIL PROTEC