# Help with loading movies and layers

**URL:** <https://forum.kirupa.com/t/help-with-loading-movies-and-layers/226609>\
**Category:** flash\
**Created:** [May 22, 2007, 4:48pm UTC](https://forum.kirupa.com/t/help-with-loading-movies-and-layers/226609 "2007-05-22T16:48:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![h2opololea](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@h2opololea](https://forum.kirupa.com/u/h2opololea)\
**Post date:** [May 22, 2007, 4:48pm UTC](https://forum.kirupa.com/t/help-with-loading-movies-and-layers/226609/1 "2007-05-22T16:48:50Z")

</div>

I have this:

```auto
 
myTime = new Date();
foo = myTime.getHours();
this.createEmptyMovieClip("container", 0);
container._x = 0;
container._y = 0;
if (foo == "0") {
   container.loadMovie("midnight.jpg");
   } 

```

So that a jpg in the same directory is loaded every hour. I also have a countdown timer (separate movie clip) that I want to display over the jpg (so that it’s always visible). When I load the movie the countdown timer flashes (it loads faster as it’s part of the flash file) and then is covered up by the jpg.

How do I insert a layer so that the countdown timer is on top of the background?
