Create hyperlinks with Adobe Flash CS4

Status
Not open for further replies.

lopdog

Posts: 275   +1
Hi!

I'm using Adobe Flash CS4 for the first time, trying to make a menu with rollover effects. I've managed to make the buttons work, however all the links open i a new window. I'm using this script:
Code:
function goInicio(event:MouseEvent):void {
	var targetURL:URLRequest=new
	URLRequest("../index.html");
	navigateToURL(targetURL);
}
inicio.addEventListener(MouseEvent.CLICK, goInicio);
How can i get the link to open in the same window?
 
Status
Not open for further replies.
Back