# Loading movie in a dynamically created level

**URL:** <https://forum.kirupa.com/t/loading-movie-in-a-dynamically-created-level/3690>\
**Category:** Uncategorized\
**Created:** [October 22, 2001, 6:28pm UTC](https://forum.kirupa.com/t/loading-movie-in-a-dynamically-created-level/3690 "2001-10-22T18:28:05Z")\
**Posts on this page:** 6\
**Page:** 1

<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:** [October 22, 2001, 6:28pm UTC](https://forum.kirupa.com/t/loading-movie-in-a-dynamically-created-level/3690/1 "2001-10-22T18:28:05Z")

</div>

first of all, hello and how are you doing.

Here is my problem which i hope someone might be able to answer. I am sure it is a small matter whcih i have forgotten but i am wracking my braing to figure it out. I am trying to load an swf file on(release) into a dynamically created later.

loadMovie(“workroomPage.swf”, \_root.conteur);

---

<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:** [October 22, 2001, 6:40pm UTC](https://forum.kirupa.com/t/loading-movie-in-a-dynamically-created-level/3690/2 "2001-10-22T18:40:03Z")

</div>

If your button is in the main movie, and so is the var, drop the \_root. How do you increment var (and when)?

---

<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:** [October 22, 2001, 7:01pm UTC](https://forum.kirupa.com/t/loading-movie-in-a-dynamically-created-level/3690/3 "2001-10-22T19:01:39Z")

</div>

the variable is declared on the first frame  
as conteur = 1;

then the load function as well as the variable are declared in a button.

---

<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:** [October 22, 2001, 7:03pm UTC](https://forum.kirupa.com/t/loading-movie-in-a-dynamically-created-level/3690/4 "2001-10-22T19:03:29Z")

</div>

sorry i pressed tab to many times and it posted it

anyways the increment is as follows. after the the loadmovie call

```
 conteur ++;  

```

i have a trace before/after it to tell me whether or not it is incrementing and it is. it’s just not loading in the right livel i don’t get it.

---

<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:** [October 23, 2001, 11:06am UTC](https://forum.kirupa.com/t/loading-movie-in-a-dynamically-created-level/3690/5 "2001-10-23T11:06:49Z")

</div>

can you send me the fla to look at ([joekiehl@hotmail.com](mailto:joekiehl@hotmail.com))? or icq-me :104459598…

---

<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:** [October 23, 2001, 6:14pm UTC](https://forum.kirupa.com/t/loading-movie-in-a-dynamically-created-level/3690/6 "2001-10-23T18:14:20Z")

</div>

thanks for the offer but i figured it out. thanks and be well.
