This tutorial will probably help: http://tutorial6.flexcf.com/
NB. I don't use coldfusion - I use PHP with WebORB. --- In [email protected], "Wally Kolcz" <wko...@...> wrote: > > Ok, lets take this the other way. Here is my simple CFC. How can I modify this to return a result to Flex to which I can then set to an ArrayCollection that I can use? > > <cfcomponent> > <cffunction name="login" access="remote" returntype="query" output="false" hint="I attempt a login"> > <cfargument name="username" type="string" required="yes" /> > <cfargument name="password" type="string" required="yes" /> > <cfquery name="result" datasource="PRMC_Projects"> > Select * FROM users > WHERE uniqname = <cfqueryparam value="#arguments.username#"> AND password = <cfqueryparam value="#arguments.password#" /> > </cfquery> > <cfreturn result /> > </cffunction> > </cfcomponent> >

