Flex 3 - how to support HTTP Authentication URLRequest?
问题 I have a Flex file upload script that uses URLRequest to upload files to a server. I want to add support for http authentication (password protected directories on the server), but I don\'t know how to implement this - I assume I need to extend the class somehow, but on how to I\'m a little lost. I tried to modify the following (replacing HTTPService with URLRequest), but that didn\'t work. private function authAndSend(service:HTTPService):void{ var encoder:Base64Encoder = new Base64Encoder()