Hi all, first post here.

Found this site using Google while trying to figure out why I couldn't add a URL to a button and thanks to an existing question on here, I've done it. Problem is, seems long-winded. Here's my code:

Code:
btnHomePage.addEventListener(MouseEvent.CLICK,callHomePage);
btnAboutUs.addEventListener(MouseEvent.CLICK,callAboutUs);
btnFacilities.addEventListener(MouseEvent.CLICK,callFacilities);
...