Actually, looking at it now that you're calling me out, I thought I was
crazy, but noticed a typo- and instead of Delegate, I used assigned
anonymous function, but the same basic form works.

        var getUserResult = new Object();
        getUserResult = generatorWS.GetUserObject()
        getUserResult.onResult = function(result){trace(result)}

That does work.  

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team


 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
>>Sent: Tuesday, April 10, 2007 1:01 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: Re: [Flashcoders] WebServices in Flash IDE ...
>>
>>WOW.. Ok..
>>
>>   var myGetResult:Object = new Object();
>>   myGetResult = myWS.getCategories();
>>   myGetResult = Delegate.create(this, myGetResultMethod)
>>
>>No matter how hard you try, the above will never work, not in 
>>a million years.
>>
>>> Funny, it pasted from a project of mine and it's been 
>>working fine for 
>>> about 10 months now.
>>
>>BS!!
>>
>>
>>
>>----- Original Message -----
>>From: "Merrill, Jason" <[EMAIL PROTECTED]>
>>To: <flashcoders@chattyfig.figleaf.com>
>>Sent: Tuesday, April 10, 2007 6:02 PM
>>Subject: RE: [Flashcoders] WebServices in Flash IDE ...
>>
>>
>>>>>The code just didn't work, period.
>>>
>>> Funny, it pasted from a project of mine and it's been 
>>working fine for
>>> about 10 months now.
>>>
>>> Jason Merrill
>>
>>
>>_______________________________________________
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training
>>http://www.figleaf.com
>>http://training.figleaf.com
>>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to