Skip to main content
Inspiring
November 2, 2008
Question

navigateToURL outside of my domain

  • November 2, 2008
  • 3 replies
  • 492 views
This is the code I want to use to direct a user to a different web page-

function linkToBiblioteca(event:MouseEvent) {
var request = new URLRequest('www.biblioteca.buap.mx');
navigateToURL(request,"_blank");
}

- but it trys to open inside of my directory. How can I avoid this?
This topic has been closed for replies.

3 replies

Inspiring
November 2, 2008
Perfect, thanks for your help!
Colin Holgate
Inspiring
November 2, 2008
It should work, Try it as:
var request = new URLRequest(' http://www.biblioteca.buap.mx');

Inspiring
November 2, 2008
Try to put http protocol into url:

var request = new URLRequest(' http://www.biblioteca.buap.mx');