# Load a swf file in dynamic site

**URL:** <https://forum.kirupa.com/t/load-a-swf-file-in-dynamic-site/167579>\
**Category:** flash\
**Created:** [October 29, 2005, 4:14pm UTC](https://forum.kirupa.com/t/load-a-swf-file-in-dynamic-site/167579 "2005-10-29T16:14:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucide](https://avatars.discourse-cdn.com/v4/letter/l/f6c823/32.png) [@Lucide](https://forum.kirupa.com/u/Lucide)\
**Post date:** [October 29, 2005, 4:14pm UTC](https://forum.kirupa.com/t/load-a-swf-file-in-dynamic-site/167579/1 "2005-10-29T16:14:28Z")

</div>

Hey,

I’ve read the guide of loading swf files into target, but it doesn’t make sense that much.

I have a finished flash site, and on the home page, (without having a button pusht yet) im loading a file “foto.swf” by putting this actionscript into the timeline of the movieclip

```auto
[color=#000000]loadMovie("foto.swf", 1);[/color]

```

Then it loads the swf, but when I press a button then, it remains visible.

Does someone know how to fix this problem, i’ve read the guide but i cant sort it out.

Many thanks,

Michael
