# Load file into movieclip as soon as homepage is entered?

**URL:** <https://forum.kirupa.com/t/load-file-into-movieclip-as-soon-as-homepage-is-entered/59875>\
**Category:** flash\
**Created:** [August 4, 2004, 2:56pm UTC](https://forum.kirupa.com/t/load-file-into-movieclip-as-soon-as-homepage-is-entered/59875 "2004-08-04T14:56:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soma](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@Soma](https://forum.kirupa.com/u/Soma)\
**Post date:** [August 4, 2004, 2:56pm UTC](https://forum.kirupa.com/t/load-file-into-movieclip-as-soon-as-homepage-is-entered/59875/1 "2004-08-04T14:56:37Z")

</div>

Hi, Im using this piece of code for my menubuttons:

on (release) {  
\_root.[color=red]name-of-empty-movieclip[/color].loadMovie("[color=red]name-of-external-flash.[/color]swf");  
}

I’m using it to load external flash-movies into an empty movieclip. It all works very well, but I now need an external flashfile to be loaded as soon as you enter the website and not when u push a button. how can I make this work ? help anyone, plz 🙂

regards, soma

---

<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:** [August 4, 2004, 4:11pm UTC](https://forum.kirupa.com/t/load-file-into-movieclip-as-soon-as-homepage-is-entered/59875/2 "2004-08-04T16:11:29Z")

</div>

umm…take out the on(release) handler and put that code on a frame on the root timeline.
