TechSpot

Create hyperlinks with Adobe Flash CS4

By lopdog
Apr 7, 2009
  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.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...