Create hyperlinks with Adobe Flash CS4

By lopdog
Apr 7, 2009
Topic Status:
Not open for further replies.
  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?
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.