# Help with linking flash to page

**URL:** <https://forum.kirupa.com/t/help-with-linking-flash-to-page/63999>\
**Category:** Uncategorized\
**Created:** [September 12, 2004, 12:19pm UTC](https://forum.kirupa.com/t/help-with-linking-flash-to-page/63999 "2004-09-12T12:19:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kipper1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kipper1/32/675_2.png) [@Kipper1](https://forum.kirupa.com/u/Kipper1)\
**Post date:** [September 12, 2004, 12:19pm UTC](https://forum.kirupa.com/t/help-with-linking-flash-to-page/63999/1 "2004-09-12T12:19:34Z")

</div>

i have created a nav system which consists of squares. once your rollover the square it expands in to a rectangs displaying where the link is to take the view but on the square i have enterd this:

getURL([web](http://www.chaotic-at.com) address, \_self);

its showing errors and im sure im doin summit stupid but im novice at AS can anyone provide help?

the nav system can be viewed at [http://www.shiznat.chaotic-art.com](http://www.shiznat.chaotic-art.com)

ta,

kip

---

<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:** [September 12, 2004, 3:10pm UTC](https://forum.kirupa.com/t/help-with-linking-flash-to-page/63999/2 "2004-09-12T15:10:04Z")

</div>

```auto
{getURL("page.ext", target="_self");

}

```

You’re missing some quotes.

(and a target= )

---

<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:** [September 12, 2004, 4:06pm UTC](https://forum.kirupa.com/t/help-with-linking-flash-to-page/63999/3 "2004-09-12T16:06:05Z")

</div>

humm when i paste that in my button i get this error

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler  
{getURL(“[http://www.chaotic-art.com](http://www.chaotic-art.com)”, target="\_self");  
Total ActionScript Errors: 1 Reported Errors: 1

can anyone help me out

---

<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:** [September 12, 2004, 4:30pm UTC](https://forum.kirupa.com/t/help-with-linking-flash-to-page/63999/4 "2004-09-12T16:30:18Z")

</div>

Oh, that’s because you don’t have something like

```auto

on (press) {getURL("http://www.chaotic-art.com", target="_self");
}

```

Try that. What I posted before was just to correct the GetURL function.

---

<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:** [September 12, 2004, 4:37pm UTC](https://forum.kirupa.com/t/help-with-linking-flash-to-page/63999/5 "2004-09-12T16:37:46Z")

</div>

aha thats the one thanks for your time ive learnt something new 🙂
