hi, i have sorted it out using a class instead of the .xml method.
RemotingConnection.as package connection { import flash.net.NetConnection; import flash.net.ObjectEncoding; public class RemotingConnection extends NetConnection { private var sURL:String = "http://xxx"; public function RemotingConnection() { objectEncoding = ObjectEncoding.AMF3; connect(sURL); } } } and in main app //Flash Remote AMFPHP import connection.RemotingConnection; private var service:RemotingConnection = new RemotingConnection(); then... service.call('service.AMFPHP.toCall', new Responder(resultHendler, faultHandler),selectedANPMenu.menu_id, var1, var2, var3); cheers, herculano need to find out how to put the busyCursor, without having to do the: CursorManager.setBusyCursor(); CursorManager.removeBusyCursor(); --- In flexcoders@yahoogroups.com, "Morten Madsen" <[EMAIL PROTECTED]> wrote: > > Hi Group! > > After installing the new Flex Builder 3 beta2 one of my projects can't > compile anymore > I use amfphp, described as in this tutorial ( > http://www.sephiroth.it/tutorials/flashPHP/flex_remoteobject/page001.php) > > But when I try to compile I get an error: > Invalid endpoint port'' specified for channel definition 'my-amfphp'. > > My 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/gateway/gateway.php" class=" > flex.messaging.endpoints.AMFEndpoint" /> > </channel-definition> > </channels> > </services-config> > > Can anybody help me? > > It worked in Flex 2, Flex 3 beta1... > > > Kind regards > Morten >