[swx] Feature Request

Ben Lagoutte ben.lagoutte at gozer.com.au
Wed Jan 30 20:41:47 PST 2008


Hey Aral,

Would it be possible to add to swx the option to pass SWX call 
parameters handlers as delegates (created through Delegate.create)  as 
an alternative method to the [source, method] system?

The current system makes it a little lengthy to pass result handlers 
from one object to another...

could be tested for with something like (with the fault handler for 
instance):
if (typeof(fault)=="function" && typeof(fault.func)=="function" && 
fault.target!=undefined)
{
    /* it's a delegate */
}
else
{
    /* as it is now */
}

Maybe ?

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swx_osflash.org/attachments/20080131/18cdde55/attachment.html 


More information about the swx mailing list