# Navigate to Url

**URL:** <https://forum.kirupa.com/t/navigate-to-url/268488>\
**Category:** Uncategorized\
**Created:** [August 14, 2008, 2:33pm UTC](https://forum.kirupa.com/t/navigate-to-url/268488 "2008-08-14T14:33:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Post date:** [August 14, 2008, 2:33pm UTC](https://forum.kirupa.com/t/navigate-to-url/268488/1 "2008-08-14T14:33:58Z")

</div>

I have an intro animation and at the end I navigate to my main site with

navigateToURL(new URLRequest(‘main.html’),"\_self");

this was fine until I added a preloader. When the preloading is done this loads my intro with:

var myRequest:URLRequest = new URLRequest(“intro.swf”);  
var myLoader:Loader = new Loader();  
myLoader.load(myRequest);

now the navigate does not work. I have tried

parent.navigateToURL(new URLRequest(‘main.html’),"\_self");

does anyone know how I can get this to work?
