Unexpected Flash Security Exception When Using URLLoader
问题 What I am trying to accomplish is to upload some binary data, specifically a ByteArray representing a PNG image, to a server using the URLLoader class in conjunction with URLRequest. When I set the contentType property of the URLRequest to 'multipart/form-data' instead of the default, the call to urlLoader.load() results in a security exception. When I leave the contentType property as the default, it works fine, but takes a long time (proportional to the length of the PNG file) to upload the