# LoadMovie problem

**URL:** https://forum.kirupa.com/t/loadmovie-problem/202628
**Category:** Uncategorized
**Created:** [October 3, 2006, 8:16am UTC](https://forum.kirupa.com/t/loadmovie-problem/202628 "2006-10-03T08:16:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![FlashChristian](https://avatars.discourse-cdn.com/v4/letter/f/c37758/32.png) [@FlashChristian](https://forum.kirupa.com/u/FlashChristian)
#### Post date: [October 3, 2006, 8:16am UTC](https://forum.kirupa.com/t/loadmovie-problem/202628/1 "2006-10-03T08:16:12Z")

</div>

Hello, My english is very bad, so I hope that someone understands my problem.

I have an problem with my loadMovie Function.

When I klick on a button, in this case “btn4”, I load a external swf in to a emptyMovieClip… The problem is that I don´t want the external swf to load instant in to the emptyMovieClip, I want it to wait in a few seconds before it loads in to the emptyMovieClip. I don´t know how to do that function…Please someone help me

Here is the code for inload function

```auto

this.mcmenu.btn4.onRelease = function() {
    resizeTo(400, 350);
    createEmptyMovieClip("container", 9985);
    _root.container.loadMovie("ar.swf");
    _root.container._x = 130;
    _root.container._y = 90
function fadeInObject(target) {
    target._alpha = 0;
    onEnterFrame = function () {
        target._alpha += 5;
        if (target._alpha >= 100) {
            target._alpha = 100;
            delete onEnterFrame;
        }
    };
}
fadeInObject(_root.container);
};

```
