There is a way to build a single Flex application, without changing any configuration files between compliations, that can then be deployed to either a server that is configured for http or a different server that is configured for https. I struggled with this some time. At first it seemed that I had to do one build for the my-amf channel, and a separate build to work with the my-secure-amf channel. That's not the case. <a href="http://progressivenoob.blogspot.com/2009/08/configure-flex-to-use-either-amf-or-amf.html" target="_blank">See the solution here.<a>

