error message in Flash? Something along the lines, ".........no default
responder.........."?
If so, have a look at responders for flash remoting. There's a few different
ways to do it but you'll no doubt choose your favourite.
Ade
-----Original Message-----
From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
Sent: 31 December 2003 10:34
To: CF-Talk
Subject: Re: flash remoting help
I�m calling the function on a button click...
Still havent got it working!
On 31/12/03 12:58 am, "chris kief" <[EMAIL PROTECTED]> wrote:
> Did you get this working? From the looks of your code, you're never
calling
> the function, just declaring it. You need to invoke the function to get it
> to work:
>
> stop();
>
> // Include the Required NetService class files
> #include "NetServices.as"
>
> // Connect to the Flash Remoting service
> // Make the Gateway connection
>
NetServices.setDefaultGatewayUrl("http://www.lightwillrise.com:27000/flashse
> rvices/gateway");
> gatewayConnnection = NetServices.createGatewayConnection();
> // path relative to webroot
> svc = gatewayConnnection.getService("cfc.sendmail", this);
>
> function insertIt() {
> svc.sendMail();
> }
>
> // invoke the function
> insertIt();
>
> chris
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

