Passing a LoadMovieNum into a child movie?

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

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

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

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

Much Appreciated.

jOEL

Hi,

Any time.

BTW, did it work? :wink:

Cheers

SHO