1 Reply Latest reply on Aug 25, 2010 5:04 PM by Okcla

    Variable doesn't appear on the URL

    Okcla
      Hi,

       

      I want to call a html page through flash passing a variable, and receive this variable by javascript in the html.

      I created the following code:

      Flash:
      getURL ("service.html?option=1","_self","GET");

       

      Html:
      <script>
      var option = location.href.split("=")
      if (option[1]=="1"){
      ...
      }
      </script>

       

      The html is correct (I think...), however the variable does not appear on the URL. The URL is shown as "service.html".

      How can I do that???


      Thanks.