4 Replies Latest reply on Dec 16, 2007 1:44 PM by kglad

    How can you make flash link to a URL?

    JasperFDO Level 1
      hi...i'm really new to flash, and trying to link to a URL via a mouse click and it isn't working.

      basically, i've inserted the key frame and converted that to a button. then put in the action script below:

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

      when I export the SWF and the movie gets to that point, my mouse arrow shows the little hand pointer, but a click doesn't activate the link.

      any help would rock. THANKS!