1 Reply Latest reply on Jan 3, 2010 8:57 AM by OblivionKnight

    URL variables.




      I wonder if you might be able to offer me some advice on this problem.


      I'm basically trying to extract a series of variables that are passed in URL from another flash movie. I have researched flash vars and the like and didnt really get far.


      I tried another approach.

      using this code:


      var addr:String = flash.external.ExternalInterface.call("function(){return window.location.href}").toString();
      var section = addr.split("&");
      trace (section);


      I was able to get the URL into Flash!


      So flash now has a variable called "section" that holds a string like this.




      My question is; how do i get the values held in each of these days, weeks, years, etc into a format that can be used with in the flash movie. Ideally into seperate variables where the values can be returned in a textbox.


      Any advice or help is gratefully recieved.


      Many thanks