At first glance, your pc.responder's result function isn't spelled correctly: "onEchoResul". Shouldn't a 't' be at the end?
- Matt -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graham Pearson Sent: Friday, November 24, 2006 7:28 AM To: Flashcoders mailing list Subject: [Flashcoders] AS2 Flash Remoting Troubles -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am working on moving my AS1 Flash Remoting Applications over to AS2 and having a devil of a time. The problem that I am running into is that the code within the RelayResponder does not execute to my knowledge. Here is an example of what I am doing. function onEchoFault(rs:FaultEvent) { trace("--> onEchoFault has been executed "); } function onEchoResult(re:ResultEvent) { trace("--> onEchoResult has been executed "); } var pc:PendingCall = myService.makeEcho("Hello World!"); pc.responder = new RelayResponder(this, "onEchoResul", "onEchoFault"); When I run the application in my debugger window I get the following 11/25 7:26:11 [INFO] logger1: Creating Service for properties.cfc.HelloWorld 11/25 7:26:11 [INFO] logger1: Creating gateway connection for http://devel.yourcfpro.com/flashservices/gateway 11/25 7:26:11 [INFO] logger1: Successfully created Service 11/25 7:26:13 [INFO] logger1: Invoking makeEcho on properties.cfc.HelloWorld 11/25 7:26:15 [INFO] logger1: properties.cfc.HelloWorld.makeEcho() returned "Hello Hello World!" I do not get the Trace statement on the onEchoResult. What am I doing wrong. - -- Graham Pearson, System Administrator / DCG Administrator / Application Developer Northern Indiana Educational Services Center Mishawaka, IN 46544 Voice (866) 254-5322 or (574) 254-5210 / Fax (574) 254-0148 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFZuU8akuGrBT7wfkRApksAJ9qWm+1smugV6f6NQpKu5J4MKZxSwCffCzU 253+eiz1UnkZrkdSDBG05Rk= =k8fY -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content by our Email Filtering System and is believed to be clean. _______________________________________________ [email protected] 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 ------------------------------------------------------------------------------------------- ***National City made the following annotations ------------------------------------------------------------------------------------------- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. =========================================================================================== _______________________________________________ [email protected] 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

