3 Replies Latest reply on Apr 19, 2007 7:01 AM by baggio2004

    From Flash to Javascript

    baggio2004
      Hi all, i have a problem that make me very sadness....
      i have to pass from flash some variables to a page html (where flash is).

      In my flash i have this code on a button,
      on(press)
      {
      fscommand ("setColor", "3");
      }
      in the html page i have this javascript

      <script Language="JavaScript" event="FSCommand (command, args)" for="colorFlash">
      if (command == 'setColor'){
      document.all('Color_field').value = args;
      }
      </script>
      My problem is that it works only with internet explorer and not with fireworks, some can help me?
      Thanks a lot