Skip to main content
Inspiring
December 13, 2007
Question

How can you make flash link to a URL?

  • December 13, 2007
  • 1 reply
  • 197 views
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!


This topic has been closed for replies.

1 reply

Participant
December 14, 2007
on (release) {
getURL(" http://www.hvactechsupport.com/controls-main.asp\"", "_blank");
}