also @ TechSpot: Cookie-blocking browser plugin Ghostery feeds data to the ad industry

Create hyperlinks with Adobe Flash CS4

Discussion in 'Software Apps' started by lopdog, Apr 7, 2009.

  1. lopdog TechSpot Maniac Posts: 378

    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?