Ok, I see.  But doesn't this trash the flexibility idea that a Flash app or web 
browser uses the same back end logic layer?  Or is this a perfect place for the facade 
methodology?  so all your CFCs go under say the custom tags dir for global access on 
the server.  Then you have webroot/html and webroot/flash and webroot/foo perhaps?  In 
each of these you have CFCs that are facades to the single global ones.  Or is it just 
better to house everything under one dir?  Just trying to get my head wrapped around 
this some.


Doug

>-----Original Message-----
>From: Todd [mailto:[EMAIL PROTECTED]
>Sent: Thursday, July 24, 2003 9:26 AM
>To: [EMAIL PROTECTED]
>Subject: RE: [CFCDev] Calling CFCs remotely and Application.cfm 
>
>
>
>If your flash app needs to use session / app variables, the 
>CFCs has to be 
>relative/near the Application.cfm's <cfapplication> tag.
>
>In otherwords if you have something like this:
>/webroot/Application.cfm
>/outside_webroot/cfcs/yourCFC.cfc
>
>It won't work.
>
>/webroot/Application.cfm
>/webroot/cfcs/yourCFC.cfc
>
>This will.
>
>We had a similar issue.  Sam Neff assisted me with it (Thanks Sam!)
>
>~Todd
>
>At 09:21 AM 7/24/2003, you wrote:
>>Hrmm...I just wrote my first Flash app calling a CFC.  Its 
>just a proof of 
>>concept thing.  From the way I understood the whole deal, you 
>expose your 
>>CFC as a web service for Flash, or any app, to call.  In this 
>case, there 
>>is no conflict with the application.cfm in the HTML app version, 
>>correct??  Now, just where do you put CFCs exposed as web 
>services in the 
>>dir structure for Flash to call them??  Is there a best practise on 
>>this?  I tried placing a CFC under the custom tgas dir so 
>that it would be 
>>exposed globally, but the Flash app couldn't see it.
>>
>>Doug
>>
>>...sorry I hiked your thread a little here...
>
>
>
>----------
>Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/
>Team Macromedia Volunteer for ColdFusion
>http://www.macromedia.com/support/forums/team_macromedia/
>http://www.devmx.com/
>
>----------
>
>----------------------------------------------------------
>You are subscribed to cfcdev. To unsubscribe, send an email
>to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
>in the message of the email.
>
>CFCDev is run by CFCZone (www.cfczone.org) and supported
>by Mindtool, Corporation (www.mindtool.com).
>
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to