line numbers are not always as they seem in CF...make sure you don't have any included files etc. that could be skewing the "real" line number
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
----- Original Message -----
From: Ryan Mitchell
To: CF-Talk
Sent: Tuesday, January 06, 2004 1:24 PM
Subject: Re: flash remoting help
Ok, update:
Iıve found my webroot, created a directory called cfcremoting, and am
working off that... It does seem to connect.
When I try the code below, I get the following error with the flash
debugger:
error:coldfusion.compiler.ParseException: Invalid CFML construct found on
line 23 at column 17.
Theres not even 23 lines in the file!!!
On 6/1/04 12:14 am, "Mauricio Giraldo" <[EMAIL PROTECTED]> wrote:
>> >Has anyone used flash remoting on a shared hosting environment, as Iım
>> >convinced its a problem with the path to the cfc...
>
> What hosting provider? Does it work in your local development scenario? (you
> do have a development server right?)
>
> Heres a snippet that should work for you:
>
> /*
> AS code
> */
>
> obj = function () {
> this. (r) {
> trace("received:" + r);
> }
> this. (e) {
> trace("error:" + e.details);
> }
> }
>
> function init () {
> NetServices.setDefaultGatewayUrl("http://www.lightwillrise.com:27000/flashserv
> ices/gateway");
> var conn = NetServices.createGatewayConnection();
> var service = conn.getService("cfc.sendmail",new obj());
> service.sayHello();
> }
>
> init();
>
> /*
> in cfc/sendmail.cfc
> */
>
> <cfcomponent>
> <cffunction
> name="sayHello"
> access="remote"
> output="false"
> returntype="string">
> <cfset var message = "hello">
> <cfreturn message>
> </cffunction>
> </cfcomponent>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Re: flash remoting help Craig Earls
- Re: flash remoting help Ryan Mitchell
- Re:flash remoting help Mauricio Giraldo
- Re: flash remoting help Clint Tredway
- Re:flash remoting help Mauricio Giraldo
- Re: flash remoting help: UPDATED Ryan Mitchell
- RE: flash remoting help: UPDATED Mark A. Kruger - CFG
- Re: flash remoting help: UPDATED Ryan Mitchell
- RE: flash remoting help: UPDATED Mark A. Kruger - CFG
- Re: flash remoting help Ryan Mitchell
- Re: flash remoting help Bryan Stevenson
- Re: flash remoting help Mike Chambers