# Hyperlink from flash to html

**URL:** <https://forum.kirupa.com/t/hyperlink-from-flash-to-html/182954>\
**Category:** Uncategorized\
**Created:** [March 22, 2006, 6:30pm UTC](https://forum.kirupa.com/t/hyperlink-from-flash-to-html/182954 "2006-03-22T18:30:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lily](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@lily](https://forum.kirupa.com/u/lily)\
**Post date:** [March 22, 2006, 6:30pm UTC](https://forum.kirupa.com/t/hyperlink-from-flash-to-html/182954/1 "2006-03-22T18:30:18Z")

</div>

Hello,

I need help. I’m making some html pages for a Kiosk for my church. I am making the intro page in flash and need to link some buttons to an html page that is not on the internet but on the hard drive. How can I do this?

Thank you - lily

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [March 22, 2006, 6:34pm UTC](https://forum.kirupa.com/t/hyperlink-from-flash-to-html/182954/2 "2006-03-22T18:34:11Z")

</div>

just put the html files in the same folder as the SWF and get them like this

```auto
getURL("some.html")

```

---

<div class="post-metadata">

**Author:** ![lily](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@lily](https://forum.kirupa.com/u/lily)\
**Post date:** [March 22, 2006, 6:38pm UTC](https://forum.kirupa.com/t/hyperlink-from-flash-to-html/182954/3 "2006-03-22T18:38:48Z")

</div>

> [@Defective](#):
>
> just put the html files in the same folder as the SWF and get them like this
> 
> ```auto
> getURL("some.html")
> 
> ```

I knew it had to be that easy. But it’s not working for me. I get thei error:  
Scene=Scene 1, Layer=Layer 14, Frame=1: Line 1: Statement must appear within on handler  
getURL(“map01.html”)

---

<div class="post-metadata">

**Author:** ![lily](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@lily](https://forum.kirupa.com/u/lily)\
**Post date:** [March 22, 2006, 6:45pm UTC](https://forum.kirupa.com/t/hyperlink-from-flash-to-html/182954/4 "2006-03-22T18:45:41Z")

</div>

> [@lily](#):
>
> I knew it had to be that easy. But it’s not working for me. I get thei error:  
> Scene=Scene 1, Layer=Layer 14, Frame=1: Line 1: Statement must appear within on handler  
> getURL(“map01.html”)

Ah! I got it now. It needed to say on release. - thanks!!
