You could use the setRemoteCredentials method of the RemoteObject to send username and password as a header item.
If not, check out the replies at http://stackoverflow.com/questions/81548/how-to-set-an-http-header-while-using-a-flex-remoteobject-method --- In flexcoders@yahoogroups.com, "mores" <stephen.more@...> wrote: > > Is there anyway to attach a HTTP Header to a > flex.messaging.messages.RemotingMessage such that my > flex.messaging.endpoints.AMFEndpoint will be able access it ? > > I have a server that is protected/secured and the only way to access the > resources is by attaching a token to the HTTP Header. >