# Html link code into flash button?

**URL:** <https://forum.kirupa.com/t/html-link-code-into-flash-button/188386>\
**Category:** Uncategorized\
**Created:** [May 7, 2006, 7:26am UTC](https://forum.kirupa.com/t/html-link-code-into-flash-button/188386 "2006-05-07T07:26:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![midnite](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@midnite](https://forum.kirupa.com/u/midnite)\
**Post date:** [May 7, 2006, 7:26am UTC](https://forum.kirupa.com/t/html-link-code-into-flash-button/188386/1 "2006-05-07T07:26:33Z")

</div>

hey guys, i’m having trouble finding a tutorial on this through google. in html, i have this code on a text link:

```auto
<a href="page1.html" onclick="return loadIframe('ifrm', this.href)">Page 1</a>

```

basically just returns a page’s height to the iframe called ifrm so that the height of the iframe will be dynamically changed.

the page’s nav is being changed to flash, so i need to somehow script that snippet into a flash button. normally i’d use something like:

```auto
on (release){
getURL("page1.html", "ifrm");
}

```

but i can’t find the proper syntax for writing that in actionscript. any help or point in the right direction would be greatly appreciated. thanks! :thumb:
