|
Heyas
I am just wondering if its actually
possible to use a "factory" style approach with Flash
Remoting.
eg:
factory.cfc
<cfcomponent>
this.navigation =
createObject("component","path.to.navigtion.controllerCFC");
this.blah =
createObject("component","path.to.blah.controllerCFC");
</cfcomponent>
navigation.controller.cfc
<cfcomponent>
<cffunction
name="getTopNav" access="remote">
<cfreturn true>
</cffunction>
</cfcomponent> Then In ActionScript (Client) I want to
have:
gatewayPackage =
gatewayConnection.getService('appname.factory', new
Result());
gatewayPackage.navigation.getTopNav(); Flash MX doesn't return an error, but it
doesn't return data either. Is this feasible? or do I have to use a
callMethod("path","method","param1","param2") style approach
instead?
Scott Barnes |
- Re: [CFCDev] Flash Remoting into the this.scope..... Scott Barnes
- Re: [CFCDev] Flash Remoting into the this.scope..... Sean A Corfield
- RE: [CFCDev] Flash Remoting into the this.scope..... Scott Barnes
