# Flash buttons makes a html page load in a iframe

**URL:** <https://forum.kirupa.com/t/flash-buttons-makes-a-html-page-load-in-a-iframe/63312>\
**Category:** flash\
**Created:** [September 5, 2004, 8:30am UTC](https://forum.kirupa.com/t/flash-buttons-makes-a-html-page-load-in-a-iframe/63312 "2004-09-05T08:30:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon\_Henriksen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simon_henriksen/32/625_2.png) [@Simon\_Henriksen](https://forum.kirupa.com/u/Simon_Henriksen)\
**Post date:** [September 5, 2004, 8:30am UTC](https://forum.kirupa.com/t/flash-buttons-makes-a-html-page-load-in-a-iframe/63312/1 "2004-09-05T08:30:58Z")

</div>

Hi mates,

I’ve a problem. I think it’s pretty strange since it should work.

I want to load a html page in a iframe when i click a flash button.

My code for the iframe:

```auto
<iframe name="IFRAME" height="100%" width="100%" border="0" frameborder="0" title="IFRAME">Your browser does not support iframes. Sorry.</iframe>

```

So the name of the iframe is IFRAME.

The actionscript for my button:

```auto
on (release) {
	getURL("news.html", "IFRAME");
}

```

Shouldn’t that be alright? I’ve tried with \_IFRAME too, but didn’t work out. Instead of opening in the iframe, it opens in a new window.  
My flash button is on the main page, not in a iframe and the iframe is on the mainpage too.

What’s wrong?

Cheers,  
Simon Henriksen

---

<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 5, 2004, 9:28am UTC](https://forum.kirupa.com/t/flash-buttons-makes-a-html-page-load-in-a-iframe/63312/2 "2004-09-05T09:28:40Z")

</div>

hope this helps:

[http://www.kirupa.com/developer/flash5/frames.htm](http://www.kirupa.com/developer/flash5/frames.htm)

---

<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 7, 2004, 8:22pm UTC](https://forum.kirupa.com/t/flash-buttons-makes-a-html-page-load-in-a-iframe/63312/3 "2004-09-07T20:22:42Z")

</div>

> [@murka390](#):
>
> hope this helps:
> 
> [http://www.kirupa.com/developer/flash5/frames.htm](http://www.kirupa.com/developer/flash5/frames.htm)

Wow, I had that same problem… Being a competant Flash and HTML user/editor I thought there was something wrong with the product (MX)…

Now I know… It’s a keyboard driver error. /sigh

-Kedaeus-
