0 Replies Latest reply on Jun 28, 2006 8:47 AM by Paulcardo

    XML Load > fails when publish

    Paulcardo
      In Flash 8 when I am testing my swf within the flash environment, the onLoad function fires success = true,
      but when I publish the swf to version 8 and upload it to my webspace > success = false
      if I publish in any previous version (7 or 6) > success = true

      It was developed in Flash 6 and I try to move to Flash 8

      Here is the Source:

      InterfaceClass.prototype.getCheckBrowser = function() {
      this.xmlDocBrowser = new XML();
      this.xmlDocBrowser.ignoreWhite = true;
      this.xmlDocBrowser.onLoad = this.Result_getCheckBrowser;

      this.xmlDocBrowser.load(" http://CasinoWSinternal.greatkingcasino.com/AmRoulette.asmx/CheckBrowser?AuthToken=7F42086 FDC027F78789DBC7590440395D9C6537D4A99FB2C4C803B350E1BC39D31F42A8E0D468FC3D7F9EEFDE5E1CC087 1B12EE66C34632E3940E2B7569B2495F7A7F032A17F0EB104DA3EB7B282B084D6D6F0DB7B419AC3BADE40DFCEC 5FD1EEF7791AD8670D5621C74697D7F3116BFBFEB4458CEC07C6D6D52F894B7370EE5&BrowserID=jznQTA0DYN iBnduP2MIXC1FVhnphVr&machineID=2");
      };

      InterfaceClass.prototype.Result_getCheckBrowser = function(success) {
      if (success && this.childNodes[0].childNodes[0].attributes.ErrorMessage == "Proceed") {
      _root.Interface.getXmlSetup();
      } else if (success) {
      _root.Interface.errorHandling(this, 0);
      } else {
      _root.Interface.msg("<ERROR missing checkBrowser>");
      }
      };

      thanks,