Thanks Andrew, that's what I needed. 

Darryl

-----Original Message-----
From: Andrew Muller [mailto:[EMAIL PROTECTED] 
Posted At: Friday, 15 August 2003 1:43 PM
Posted To: CFAussie
Conversation: [cfaussie] Re: Flash remoting -- service location
Subject: [cfaussie] Re: Flash remoting -- service location


Brian

 > var s_results = gw.getService("site1/cfc/results", this);

should be:

var s_results = gw.getService("site1.cfc.results", this);


Darryl

AFAIK

Flash Remoting can only call cfcs that reside under the web root,
whether they physically reside there or are virtually there.

If you don't want to put them in that location you might like to
consider using a facade as per this article:

http://www.macromedia.com/devnet/mx/flashremoting/articles/facades.html

Andrew

Knott, Brian wrote:

> My understanding is that the location of the gateway does not matter.

> I have all of my cfc in a folder as part of the web site.  So the 
> structure may look like this.
> 
> wwwroot\site1\cff or wwwroot\site2\cfc
> 
> In flash when you call the service you specify the cfc location there.

> e.g var s_results = gw.getService("site1/cfc/results", this); will 
> call a cfc called results in the site1\cfc directory.
> 
> Brian Knott
> 
> 
> -----Original Message-----
> From: Fuzion - CFAussie [mailto:[EMAIL PROTECTED]
> Sent: Friday, 15 August 2003 12:57 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] Flash remoting -- service location
> 
> 
> Does anyone know if you can change the location of 
> "/flashservices/gateway" ?? At the moment you need to place all CFCs 
> within the WEB-INF/wwwroot/ folder..
> 
> Regards,
> 
> Darryl Lyons
> Senior Systems Developer
> Fuzion Internet
> 
> Web: http://www.fuzion.com.au
> Email: [EMAIL PROTECTED]
> Phone: (07) 3620 1000
> Fax: (07) 3620 1001
> Support: 1300 888 480
> 
> 'merging business + technology'
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To 
> unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> 
> MX Downunder AsiaPac DevCon - http://mxdu.com/
> 
> 

--
Andrew Muller
Senior Macromedia Certified Instructor - ColdFusion, Flash Certified
Advanced Macromedia ColdFusion Developer - CF5, CFMX Certified
Macromedia Flash Developer - FL5, FMX

Daemon Internet Consultants
[EMAIL PROTECTED]
Macromedia Certified Training
http://www.daemon.com.au/go/training
T: 61 2 9380 4162
F: 61 2 9380 4204
17 Roslyn Gardens
Elizabeth Bay NSW 2011 AUSTRALIA

Daemon: Serious Web Development

FarCry, the open source CMS for ColdFusion MX
http://farcry.daemon.com.au/


---
You are currently subscribed to cfaussie as:
[EMAIL PROTECTED] To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to