# Redirect at the end of a frame

**URL:** <https://forum.kirupa.com/t/redirect-at-the-end-of-a-frame/10840>\
**Category:** Uncategorized\
**Created:** [January 8, 2003, 4:51am UTC](https://forum.kirupa.com/t/redirect-at-the-end-of-a-frame/10840 "2003-01-08T04:51:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparky](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@sparky](https://forum.kirupa.com/u/sparky)\
**Post date:** [January 8, 2003, 4:51am UTC](https://forum.kirupa.com/t/redirect-at-the-end-of-a-frame/10840/1 "2003-01-08T04:51:38Z")

</div>

I have created a Flash movie for an intro to a website I am buidling. What do I need to do to make the make the movie on the last frame redirect to the homepage of the website.

Any suggstions will be appreciated.

Sparky:cowboy:

---

<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:** [January 8, 2003, 5:36am UTC](https://forum.kirupa.com/t/redirect-at-the-end-of-a-frame/10840/2 "2003-01-08T05:36:57Z")

</div>

On the last frame you will want to add a getURL, the function that directs flash to change the page.

Something like this…

```auto
getURL("yourfile.html","_self");

```

Just right click on the last frame, open the actions panel, and put that in there. What it does is directs flash to go to yourfile.html in the same browser window. You can change \_self to \_blank to make it open in a new window.
