7 Replies Latest reply on Apr 9, 2007 11:24 AM by kglad

    LoadVars()

    cfortin14
      When using Ctrl+Enter within flash the variables are loading fine, but I can’t get them to load online. What am I doing wrong?

      This is the code I’m using

      PoweredVariables = new LoadVars();
      PoweredVariables.load(" http://carlos.fortin.name/eBay/addIns/eGrid/PoweredBy.php");
      PoweredVariables.onLoad = function( success ){
      if(success){
      _global.PoweredIcon = PoweredVariables.PoweredIcon;
      _global.IconLink = PoweredVariables.IconLink;
      _global.IconEmail = PoweredVariables.IconEmail;

      icWGMLogo.contentPath = _global.PoweredIcon;
      } else {
      //Do Something;
      }
      }