All, I'm working on a Flash project for a large financial services client.
The problem has to do with xml.load(). After the movie loads completely, I use xml.load() to load an XML configuration file - it's just a static text file that sits in the same directory as the swf itself. The code looks like this: config_xml = new XML(); config_xml.onLoad = xmlLoaded; config_xml.load("config.xml"); stop(); function xmlLoaded(success) { if (success) { // parse the xml else { // handle error } } When I run this locally or from my server (Media Temple, a shared-server ISP), it works fine - the (success) branch of the conditional is always executed However, when my client places it into its environment, it doesn't always work. - If you access the swf from WITHIN their corporate firewall, it always works. - If you access the swf from SOME geographic regions outside the firewall, it always works - If you access the swf from OTHER geographic regions, it never works - the !(success) branch is executed Can this have anything to do with Flash? I'm no network security expert, so I don't no what to look for. The client uses a complex system of security, firewalls, and load balancers, so anything's possible. While I'd love to solve the problem, my primary concern is ruling out (if appropriate), Flash as the cause. Also, XML.load(), while useful, is pretty rudimentary - it calls the callback function with either a true or false parameter. Is it possible to get more information on WHY it fails? Also, sometimes it fails right away, other times it takes a long time. Is this behavior controllable? Many thanks in advance for your advice and insight! Cheers, Matt Stuehler _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com