So, I am trying to read several layers from a database and populate the layer list from a list of layers. Each layer has a different username and password for token generation. I do not wish to have the user enter 50 passwords at launch of the flex app and I do not wish to reconfigure the server to not require each from having individual usernames and passwords. I am trying to figure out how to manually create the layers by reading from a generated xml file, not the config.xml but an xml generated from our database, that contains all of the attribute of the layer object. And allows the Layerlist to login and receive the layers token, without hard coding the token, the userid, or the password. Thank you!