Give google a bash for a load of info.


http://www.google.com/search?hl=en
<http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=flash+remoting+respo
nder&btnG=Google+Search>
&ie=UTF-8&oe=UTF-8&q=flash+remoting+responder&btnG=Google+Search


To get your code below to work try adding this method.


function sendMail_Result(result) {
    trace(result);
    // When the data is returned from the method call, this is where it is
returned to
}


Let us know if this works.


Ade

-----Original Message-----
From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
Sent: 05 January 2004 15:59
To: CF-Talk
Subject: Re: flash remoting help

Where would I find information about these?

On 5/1/04 10:44 am, "Adrian Lynch" <[EMAIL PROTECTED]> wrote:

> You don't seem to have created a responder function in flash. Do you get
an
> 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]

Reply via email to