I don't do RO much but I do the same thing with HTTPService and WebService. What is not working?
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Vega Sent: Wednesday, July 30, 2008 1:00 AM To: [email protected] Subject: [flexcoders] dynamic remote objects I have a remote object that is very dynamic.The user is actually selecting the source of the component and the method name. So how can I refer to the remote objects methods dynamically? ro[methodname].addEventListenter() ??? var ro:RemoteObject = new RemoteObject(); ro.destination = "ColdFusion"; ro.source = something.text ro.METHODNAME.addEventListener("result", getListResultHandler); ro.addEventListener("fault", faultHandler); ro..METHODNAME(deptComboBox.selectedItem.data); Thank You Dan Vega

