Join Login

Video Tutorials

Link Buttons to External URLs

By: RiverCityGraphix      Views: 6474      Share: Bookmark and Share

In this tutorial, you will learn how to link buttons to external urls in Flash CS4.

When creating files in Flash, you may want to link to a webpage that is outside of the Flash file. For this, you will need an external url. This tutorial shows how to create this url and display it in a new window separate from your site. This is an effective technique that can be used when building websites within Flash.


youtube_btn.addEventListener(MouseEvent.CLICK, youtube);

function youtube(e:MouseEvent):void{
	var youtubeLink:URLRequest = new URLRequest("");
	navigateToURL(youtubeLink, "_blank");

Free Source Files Zip