How can I modify this script so it does not load in a new window?

I have this script on an invisible button on a banner ad, but the customer does not want the linked page to open in a new window, but rather to load on the page in the same window. How can I change the script to achieve this, thank you!

link_btn.addEventListener (MouseEvent.MOUSE_DOWN, mouseDownHandler);

function mouseDownHandler(event:MouseEvent):void {}

navigateToURL (new URLRequest ("http://www.sdesignsstore.com/store.html"));

}

Try...

navigateToURL (new URLRequest ("http://www.sdesignsstore.com/store.html"), "_self");

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • Emails arriving almost empty

    Newsletters by e-mail from senders specific two - a travel company and a software company - always arrive empty apart from a single line: br > < br > < / html > This happens on all my devices: my iMac El Capitan and on my iOS iPhone iPad 9.7 Pro and

  • Connection ebay Mac gives a Page fault does not

    Try to log in to ebay gives this error with Mac Firefox 15.0.1OS X 10.7.4 not this problem with the Safari browser The eBay page or feature you are trying to access does not.Please, try the options below: Try to access the feature directly from the e

  • need to rest by car to its original merger

    Greeting I get my iMac with a clean install and I think I re-partition my drive also. After more than a week, I noticed the difference in speed when running applications and start the system, I check my disk in disk utilities it shows two disks (disk

  • Installation of a windows 7, I have the product key.

    I have the product key for windows 7 Home Basic. But I installed a pirated version of windows 7 ultimate. How can I get a real Windows 7 now?

  • Cisco WLC 5508 password invalid? (Fixed! Thank you)

    Hi guys,. This afternoon, I did a few tests in WLC in our network wireless company. However, after my 3-hour test, I tried to connect new WLC by GUI and SSH. The username admin and the password doesn't work any more. In read-only and guest account di