# Creating a hyperlink in a frame

**URL:** <https://forum.kirupa.com/t/creating-a-hyperlink-in-a-frame/10838>\
**Category:** flash\
**Created:** [January 8, 2003, 4:48am UTC](https://forum.kirupa.com/t/creating-a-hyperlink-in-a-frame/10838 "2003-01-08T04:48:41Z")\
**Posts on this page:** 3\
**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:48am UTC](https://forum.kirupa.com/t/creating-a-hyperlink-in-a-frame/10838/1 "2003-01-08T04:48:41Z")

</div>

I have created a flash intro to a website I am building. What do I need to do to have the movie at the end redirect to the homepage of the website. I am usingFlash MX. Any suggestions would be appreciated.

Sparky.:chinaman:

---

<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, 4:52am UTC](https://forum.kirupa.com/t/creating-a-hyperlink-in-a-frame/10838/2 "2003-01-08T04:52:30Z")

</div>

Place the getURL action on the frame where you movie stops, something like this:

```php
getURL("main.html", "_parent");

```

EDIT: I just realized you didn’t need the on(release){

---

<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:02am UTC](https://forum.kirupa.com/t/creating-a-hyperlink-in-a-frame/10838/3 "2003-01-08T05:02:39Z")

</div>

I received the following when pasting in your previous post.

Scene=Scene 1, Layer=water text, Frame=665: Line 2: Unexpected ‘}’ encountered  
}

Scene=Scene 1, Layer=actions, Frame=700: Line 1: Mouse events are permitted only for button instances  
on (release) {

I will try the new code you submitted. Thanks for the quick response. I am a newbie so my questions may seem trivial.

Sparky
