# Loading swf into an iframe in flash

**URL:** <https://forum.kirupa.com/t/loading-swf-into-an-iframe-in-flash/272310>\
**Category:** flash\
**Created:** [October 3, 2008, 7:57pm UTC](https://forum.kirupa.com/t/loading-swf-into-an-iframe-in-flash/272310 "2008-10-03T19:57:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trainwreck](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@trainwreck](https://forum.kirupa.com/u/trainwreck)\
**Post date:** [October 3, 2008, 7:57pm UTC](https://forum.kirupa.com/t/loading-swf-into-an-iframe-in-flash/272310/1 "2008-10-03T19:57:36Z")

</div>

[COLOR=Black][SIZE=4][FONT=Arial]so here is my problem im trying to load a swf file into an iframe in the orignal swf file… so i have a button and the code for the button is

on (release) { getURL (“home.swf”, target=“iframe”) }

and i made a movie clip called iframe and placed it where i want the swf to load but when i click the button it opens the home.swf file into a new window…  
there used to be a tutorial that i learnd how to do this on kirupa but i cant find it…

[/FONT][/SIZE][/COLOR]
