I'm wondering why there is an attempt to connect to http://iveCycle.swf/lcds-samples/messagebroker/http. The servername here is the name of my project without its first letter. Although the server config for my project (properties/flex server) point to localhost. Any idea what's going on here?
PS: the connection works fine when I work without a named destination.
The problem here was that I was working with an AIR (desktop) application which has no idea what the url of the server is. It's a bit misleading to think the application will copy the server properties from your project properties. The solution is to hardcode (configure) the endpoint for the service, something like remoteObject.endpoint = http://localhost:8080/lcds-samples/messagebroker/amf.