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]

