# Link in flash to a HTML-file

**URL:** <https://forum.kirupa.com/t/link-in-flash-to-a-html-file/2529>\
**Category:** Uncategorized\
**Created:** [March 21, 2002, 5:32pm UTC](https://forum.kirupa.com/t/link-in-flash-to-a-html-file/2529 "2002-03-21T17:32:51Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [March 21, 2002, 5:32pm UTC](https://forum.kirupa.com/t/link-in-flash-to-a-html-file/2529/1 "2002-03-21T17:32:51Z")

</div>

Hi Flashers!\r\rWhen I click my button I want a window with the size 400x300 to open. That .html file lies in the same directory as my flash. Anybody knows how to link to that html file from flash?\r\rThanks\r//m3rcc

---

<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:** [March 21, 2002, 6:06pm UTC](https://forum.kirupa.com/t/link-in-flash-to-a-html-file/2529/2 "2002-03-21T18:06:51Z")

</div>

Hey I could be wrong! but maybe you have to add in your buttons actions “get url” and put the address for the html file you want to pop up:) \rI hope I’m right?\r\rSimon

---

<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:** [March 21, 2002, 6:15pm UTC](https://forum.kirupa.com/t/link-in-flash-to-a-html-file/2529/3 "2002-03-21T18:15:31Z")

</div>

That works if you want the “standard” way of opening a window, yes :P\r\rBut I want the javascript kind where you dont have a statusbar and you can choose the exact size of the windows and so on

---

<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:** [March 21, 2002, 6:36pm UTC](https://forum.kirupa.com/t/link-in-flash-to-a-html-file/2529/4 "2002-03-21T18:36:02Z")

</div>

You need to insert the javascript function into the html of the file your swf is embedded in, check out the “chromeless window” tutorial on [kirupa.com](http://kirupa.com), looks great!!
