Also, you can access cfc's in subdirs. You have to use dot syntax to get to them.
Like if you had a dir called cfc in the webroot, then another dir inside cfc named foo and a cfc name bar, you would get to it like this: cfc.foo.bar HTH Clint -----Original Message----- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2003 3:23 PM To: CF-Talk Subject: Re: CFC Remote Access > Trying my first remote access of a cfc. I have cfc's that work nicely if > invoked from CF, but now I'm trying to call it remotely from Flash. I > read that by default you don't have remote access in subdirectories so I > installed the cfc in my wwwroot. I used the test > http://www1.yoursite.com/flashservices/gateway which gives me a blank > page pointing to the webroot where the cfc is so I believe I have access > there. When I try to hit it I get an error that: "The method 'chart1' in > component C:\Inetpub\wwwroot\charts.cfc cannot be accessed remotely." > Does this mean I am connecting to the cfc, but just that "method" cannot > be accessed remotely? > Make sure you set access="remote" on any methods that you wish to access from your flash app. Regards, Dave. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4