tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/127-joels-remoteobjectfactory-with-zend_amf_serverRobotlegs: Discussion 2018-10-18T16:35:14Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/22128052010-07-09T14:06:46Z2010-07-09T14:06:46ZJoel's RemoteObjectFactory with Zend_Amf_Server? <div><p>Okay got it working...</p>
<p>(In RemoteObjectFactory)</p>
<pre>
<code>...
public function getRemoteObjectForService(destination:String, concurrency:String = "multiple", showBusyCursor:Boolean = true, makeObjectsBindable:Boolean = true):RemoteObject
{
var service:RemoteObject = new RemoteObject(destination); // <-- destination here should match a destination name in the services-config.xml file... but I'm not using one.
service.channelSet = this.channelSet;
service.concurrency = concurrency;
service.showBusyCursor = showBusyCursor;
service.makeObjectsBindable = true;
service.source = destination; // <-- Added this line
return service;
}
...</code>
</pre>
<p>Do you guys think this is okay?</p></div>derekdon