9 Replies Latest reply on Nov 26, 2009 1:18 AM by TALAL MANAA

    Pass URL Variable to Flash

    yevri Level 1
      I want to put a variable at the end of a URL and have Flash "find" that variable. The url would be:
      www.mydomain.com/index.html?agent=Campbell
      "Campbell" is the variable I want to pass to Flash. I then have this script in the root timeline:
      loadVariables (""+agent".txt", this);

      I want "agent" to be replaced with Campbell. That way I can have it read a bunch of variables from the txt file.

      I tried this as well:
      loadVariables (""+_root.agent".txt", this);

      What am I missing in this?

      Thanks,

      Brian