# Passing a LoadMovieNum into a child movie?

**URL:** <https://forum.kirupa.com/t/passing-a-loadmovienum-into-a-child-movie/9272>\
**Category:** flash\
**Created:** [December 8, 2002, 9:28pm UTC](https://forum.kirupa.com/t/passing-a-loadmovienum-into-a-child-movie/9272 "2002-12-08T21:28:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jOEL](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jOEL](https://forum.kirupa.com/u/jOEL)\
**Post date:** [December 8, 2002, 9:28pm UTC](https://forum.kirupa.com/t/passing-a-loadmovienum-into-a-child-movie/9272/1 "2002-12-08T21:28:54Z")

</div>

I’m populating a Dynamic Text field with content from an external flat text file.

To load the text file I have a frame action:

loadVariablesNum(“flash.txt”, 0);

This works fine when viewed by itself.

The problem is when I load that Movie into the Parent (container) SWF file using loadMovieNum - it will no longer work.

I’m assuming it a matter of paths.

Any help would be tremendously appreciated.

jOEL

---

<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:** [December 9, 2002, 6:23pm UTC](https://forum.kirupa.com/t/passing-a-loadmovienum-into-a-child-movie/9272/2 "2002-12-09T18:23:55Z")

</div>

Hi,

If you’re loading into a Mc ratyher than a level it sould be :  
loadVariables(URL, targetMC);

It’s that the case?

If not (if u r loading into a level my guess is that that level is not 0) change the level number

> loadVariablesNum(“flash.txt”, 0 );

loadVariablesNum(“flash.txt”, any number other than 0 );

Cheers

SHO

---

<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:** [December 9, 2002, 8:03pm UTC](https://forum.kirupa.com/t/passing-a-loadmovienum-into-a-child-movie/9272/3 "2002-12-09T20:03:12Z")

</div>

The problem I was having was this:

the HTML Rendered Text couldnt be displayed under the Mask that’s in the container movie (parent).

I’m wasnt awareof this limitation. Unfortunately I’m in a position that required me to use HTML formatted device fonts. YUCKY

---

<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:** [December 11, 2002, 12:10pm UTC](https://forum.kirupa.com/t/passing-a-loadmovienum-into-a-child-movie/9272/4 "2002-12-11T12:10:51Z")

</div>

hi,

I haven’t tested it but I think you could solve that problem putting the text field ‘inside’ a MovieClip so what you mask is a MC not a textfield

Cheers

SHO

---

<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:** [December 11, 2002, 1:07pm UTC](https://forum.kirupa.com/t/passing-a-loadmovienum-into-a-child-movie/9272/5 "2002-12-11T13:07:36Z")

</div>

Much Appreciated.

jOEL

---

<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:** [December 11, 2002, 1:16pm UTC](https://forum.kirupa.com/t/passing-a-loadmovienum-into-a-child-movie/9272/6 "2002-12-11T13:16:31Z")

</div>

Hi,

Any time.

BTW, did it work? 😉

Cheers

SHO
