-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In the actual fla file it is correct, I develop on one machine and Send
email on another computer. I have even downloaded AS2 Remoting Examples
that others have made available which give me the same result. I am
currently using Flash Pro 8.
Alain Rousseau wrote:
> Hi Graham,
>
> Did you check your typos ? we forget sometimes but, this is often the
> first place to look !
>
> pc.responder = new RelayResponder(this, "onEchoResul", "onEchoFault");
>
> you forgot the "t" in "onEchoResult" :)
>
>
> A.
>
>
> Graham Pearson wrote:
> 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
>>
> _______________________________________________
> [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
- --
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
iD8DBQFFZu2+akuGrBT7wfkRAowPAJ9lYIEdKb/17ZG+fJVrDfS79xxOGwCg1nvw
nhcJzZlXfNYd9E2cO2tHd8w=
=8wqA
-----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