see if you reference 'this' inside the
new RelayResponder( this , "getDataResult" , "getDataFault" );
if this line of code is located within the button handler, then 'this' refers
to the button; but more than likely your result methods are located on the
_root;
I hope this helps;
dsdsdsdsd
MrDecisive - 13 Dec 2007 16:17 GMT
Hi dsdsdsd,
I've figured it out now thanks but you are right that is how I was
doing it but I did try to use _root. to prepend the handler functions but that
didn't work. Anyway in the end I declared a service and a relay responder (with
handlers) on the root of the first frame and then made the service call from
within the button onRelease function where I also assigned the service call
responder to be the one I configured earlier.
Thanks again for your help.