0 Replies Latest reply on Apr 28, 2006 5:29 AM by kathy-boy

    Feeding from variables

    kathy-boy
      I'm trying to feed variables into a flash. It works fine in Opera, and when I test the movie in Flash, but it doesn't work in Internet Explorer. Publish Settings are sett to Actionscript 2.0, as 1.0 didn't work. Here's the code. Any idea why this isn't working in Internet Explorer?

      var my_vars:LoadVars = new LoadVars();
      my_vars.onLoad = function(success:Boolean) {
      if (success) {
      if (my_vars.goback != "yes") {
      play;
      MCoverskrift.overskrift.text = my_vars.header;
      MCtekst.tekst.text = my_vars.descrip;
      MCprice1.price1.text = my_vars.pris
      MCprice2.price2.text = my_vars.pris
      loadMovie(" http://www.shg.dk/images/produkt2/"+my_vars.billede,MCbillede);
      count++;
      } else {
      gotoAndPlay(1);
      }
      } else {
      trace("Error loading/parsing LoadVars.");
      }
      }
      my_vars.load(" http://www.shg.dk/reklame/hardwareno.asp?shownr="+count);
      stop;