# Newbie! Problem when movie ends...move to URL

**URL:** <https://forum.kirupa.com/t/newbie-problem-when-movie-ends-move-to-url/650>\
**Category:** flash\
**Created:** [July 24, 2002, 7:55pm UTC](https://forum.kirupa.com/t/newbie-problem-when-movie-ends-move-to-url/650 "2002-07-24T19:55:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PBGas](https://avatars.discourse-cdn.com/v4/letter/p/71c47a/32.png) [@PBGas](https://forum.kirupa.com/u/PBGas)\
**Post date:** [July 24, 2002, 7:55pm UTC](https://forum.kirupa.com/t/newbie-problem-when-movie-ends-move-to-url/650/1 "2002-07-24T19:55:44Z")

</div>

Hi Folks…

I am very new here and also very new to Flash MX. Please be patient! 😉

I am experiencing a bit of difficulty with one step. I have created my Flash movie intro and when the movie finishes playing, I want to direct the browser to move to the main page of the website.

I figured that I would go to the Actions frame and under Browser/Network select “get URL” and paste in the URL that I would want it to move to.

However, when I view the movie online…this doesn’t happen. I get a strange attachment on the end of my url with a /NaN instead of the page I specified it to go to in the Actions frame.

oh well…if anyone can help, I would greatly appreciate it!

Thx very much!

Paul G.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2002, 7:58pm UTC](https://forum.kirupa.com/t/newbie-problem-when-movie-ends-move-to-url/650/2 "2002-07-24T19:58:54Z")

</div>

I need to see the code you used.

the error you are getting /NAN means, Not A Number, therefore, it cannot interpret which page you’re trying to reach.

I need to see your code before helping you further. 🙂

Good luck!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2002, 9:22pm UTC](https://forum.kirupa.com/t/newbie-problem-when-movie-ends-move-to-url/650/3 "2002-07-24T21:22:24Z")

</div>

Thankyou for replying! I appreciate it.

Would it be the code in the Flash program itself?

This would be what I put in under the action panel in the script…  
getURL([www.myURL.com/main.html](http://www.myURL.com/main.html));

Or do you need the actual code from the webpage?

Let me know what I need to do when you get a chance:)

Thx again!

Paul G.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 25, 2002, 1:55pm UTC](https://forum.kirupa.com/t/newbie-problem-when-movie-ends-move-to-url/650/4 "2002-07-25T13:55:26Z")

</div>

do you have http:// in front of the www?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 25, 2002, 4:23pm UTC](https://forum.kirupa.com/t/newbie-problem-when-movie-ends-move-to-url/650/5 "2002-07-25T16:23:44Z")

</div>

Actually no…now that you mention it.

When I put the http:// in front…what ends up happening is when I check the script with checkmark icon it shows that I have an error.

Any ideas?

Any help is appreciated!

Thx everyone!

Paul G.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 25, 2002, 4:30pm UTC](https://forum.kirupa.com/t/newbie-problem-when-movie-ends-move-to-url/650/6 "2002-07-25T16:30:44Z")

</div>

you must put quotation marks in there:

getURL(“[http://www.dynmedia.com/default.asp](http://www.dynmedia.com/default.asp)”);

or new win

getURL(“[http://www.dynmedia.com/default.asp","\_blank](http://www.dynmedia.com/default.asp%22,%22_blank)”);

[travis@dynmedia.com](mailto:travis@dynmedia.com)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 25, 2002, 5:37pm UTC](https://forum.kirupa.com/t/newbie-problem-when-movie-ends-move-to-url/650/7 "2002-07-25T17:37:18Z")

</div>

Thankyou very much, Travis!!!

Actually, before you posted and verified my error I checked in the MX tutorials under the button/URL scripting and found my problem.

Again though, thankyou for replying and verifying it. Everything is working fine now!

This is a great forum and a fantastic site!

Paul G.
