Wow, I'm really bringing up the past here, as I never saw the second  
reply to this thread, but are you saying I can use public access cfcs  
for flash remoting? I thought that they had to be accessed through  
the flashgateway, which in turn required remote access.

If I can just use normal cfcs available to my application, I'd be in  
heaven! Not to mention I could really simplify some of this flash code.

Can anyone provide me with some  additional information? How should I  
go about calling them? Will this also allow me to access my  
application variables?


Kenton


On Jul 27, 2005, at 8:17 AM, Rick Root wrote:

> Kenton Gray wrote:
>
>> When writing Flash Remoting CFC's I have to set the the function
>> access to "remote"
>>
>> eg:     <cffunction name="blah" access="remote" returnType="boolean"
>> output="false">
>>
>
> I know this isn't what you were looking for, but one thing worth
> mentioning is that if you're using flash remoting, you don't need  
> to set
> access to remote.  "remote" is for web services, not flash  
> remoting.  If
> you don't want your stuff exposed as a web service, just use "public".
>
> Dave is correct - unless you maintain state yourself, the CFC is
> initialized each time you call it.  In a normal web app you can  
> load the
> cfc into the application scope, server scope, session scope, etc, and
> maintain state from one page request to the next.  I guess I'vesort of
> done this in some of my flash apps, because althoug hte main CFC  
> that is
> being called isn't loaded into a persistent scope, I do access other
> cfcs from within that cfc that are loaded into persistent scopes (I  
> tend
> to load stuff into the application scope, as I've never used a CFC for
> session-specific persistence)
>
> Rick
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214402
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to