Make sure that Services is added to the Application document. <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:business="com.packageName.projectName.business.*" layout="absolute" >
<business:Services id="services" /> </Application> The same goes for the Controller. regards, Muzak ----- Original Message ----- From: "mixmi2004" <[EMAIL PROTECTED]> To: <flexcoders@yahoogroups.com> Sent: Tuesday, January 29, 2008 4:01 PM Subject: [flexcoders] Cazirngorn and AMFPHP1.9 HELP Cazirngorn and AMFPHP1.9 Im having some problems sending Objects Error: C0007E: RemoteObject not found for Send1..... public class SendGrassDelegate { private var responder :IResponder; private var service : AbstractService; public function SendGrassDelegate( _responder : IResponder ) { service = ServiceLocator.getInstance().getRemoteObject( "Send1" ); this.responder = _responder; } public function sendAll( ): void { var token : AsyncToken = service.sendAll(); token.addResponder(responder); } } Services.mxml <?xml version="1.0" encoding="utf-8"?> <cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:cairngorm="com.adobe.cairngorm.business.*" > <mx:RemoteObject id="Send1" destination="amfphp" source="sendServices" showBusyCursor="true"> <mx:method name="getUsers" /> </mx:RemoteObject> </cairngorm:ServiceLocator> .......... services-config.xml <?xml version="1.0" encoding="UTF-8"?> <services-config> <services> <service id="amfphp-flashremoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage"> <destination id="amfphp"> <channels> <channel ref="my-amfphp"/> </channels> <properties> <source>*</source> </properties> </destination> </service> </services> <channels> <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel"> <endpoint uri="http://localhost:80/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/> </channel-definition> </channels> </services-config> best regards -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/