2 Replies Latest reply on Jan 21, 2008 4:30 PM by JasperFDO

    Put HTML link in flash movie - I'm missing something

    JasperFDO
      Hey forum - if someone could help me out here that would be awesome.

      I've created a movie in Flash version 8 and am tryhing to get it to link to a page on the website when clicked on. Using this code:

      thermostatbutton.addEventListener(MouseEvent.CLICK, goWhere)
      function goWhere (evt) {
      var url = " http://www.hvactechsupport.com/controls-main.asp"
      navigateToURL(new URLRequest(url))
      }

      The flash file exports fine, and it recognizes the image as a button, but nothing happens with a click.

      Please help! Thanks. =)