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]

Reply via email to