# LoadMovie with dynamic text in Parent Movie. Please HELP!

**URL:** <https://forum.kirupa.com/t/loadmovie-with-dynamic-text-in-parent-movie-please-help/21084>\
**Category:** Uncategorized\
**Created:** [May 16, 2003, 8:00pm UTC](https://forum.kirupa.com/t/loadmovie-with-dynamic-text-in-parent-movie-please-help/21084 "2003-05-16T20:00:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manare](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@Manare](https://forum.kirupa.com/u/Manare)\
**Post date:** [May 16, 2003, 8:00pm UTC](https://forum.kirupa.com/t/loadmovie-with-dynamic-text-in-parent-movie-please-help/21084/1 "2003-05-16T20:00:56Z")

</div>

Hi.

(I previously posted this thread in Flash MX Forum but I think it should be here instead. Sorry)

Funny behaviour…I’m trying to load an external MC containing dynamic text (MC-Clip.swf) to a MC empty holder (MCimport) within my main/parent movie.

This piece of AS is attached to a button (to call the dyn. txt clip):

> 

on (release) {  
**\_root.loadMovie** (“MC-Clip.swf”, “MCimport”);  
}

With this, the dynamic text gets loaded indeed… but Fullscreen into the parent movie, and not into MCimport (where it should be).

Now… I don’t understand why, but the thing is that if MC-Clip.swf contains just static text (and change accordingly the text properties to static text in the holder MC), it gets loaded in the right place (MCimport) within the main/parent movie. (!!!)

And this is the piece of AS attached to the button (to call the MC containing the static txt):

> 

on (release) {  
**loadMovie** (“MC-Clip.swf”, “MCimport”);  
}

In order to get loaded the dynamic text into the target MC inside the parent movie, I’ve tried many different combinations (some of them even absurd I think)…the result? same behaviour or even worse. Some of them are:

// loadMovie(“MC-Clip.swf”,\_root);  
// \_level0.loadMovie(“MC-Clip.swf”, MCimport);  
// this.loadMovie (“MC-Clip.swf”, “MCimport”);  
// loadMovie (“MC-Clip.swf”, this);  
// \_root.MCimport.loadMovie(“MC-Clip.swf”,this);

// clip=“Mcimport”;  
// loadMovie(“MC-Clip.swf”, this.clip);  
or // loadMovie(“MC-Clip.swf”,\_root.clip);  
or // loadMovie(“MC-Clip.swf”,\_parent.clip);

Is it strange indeed or am I doing something wrong? Can somebody help me please?? I’m going mad with this silly thing and I’ve run out of ideas!!

If anybody wants to have a look at it all, here’s the zipped fla (12Kb): [Load Movie Fla](http://www.iespana.es/Manete/Loading_Dynamic_txt.zip) (Unzip all files to a folder and double click on **Loading Dyn TXT.swf** to start the party…).

Thank you!  
Manare

---

<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:** [May 16, 2003, 9:12pm UTC](https://forum.kirupa.com/t/loadmovie-with-dynamic-text-in-parent-movie-please-help/21084/2 "2003-05-16T21:12:49Z")

</div>

🙂  
tried almost all possible combinations, just not the right one, lol  
if you have mc\_clipname.loadMovie(otherMovie, whatever);  
the content will load into mc\_clipname!  
(as in “\_root.loadMovie (“MC-Clip.swf”, “MCimport”);” =\> loads into \_root)  
so the 2nd one was correct: loadMovie (“MC-Clip.swf”, “MCimport”); and should work with dynamic and static text, the path to the dynamic textfield is then \_root.MCimport.textfieldName.text …

so you have  
// loadMovie(“MC-Clip.swf”,\_root);  
=\>loads into \_root  
// \_level0.loadMovie(“MC-Clip.swf”, MCimport);  
loads into \_level0  
// this.loadMovie (“MC-Clip.swf”, “MCimport”);  
this, called from \_root, is \_root again  
// loadMovie (“MC-Clip.swf”, this);  
same here, this = \_root  
// \_root.MCimport.loadMovie(“MC-Clip.swf”,this);  
yup…

ah, paths…

---

<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:** [May 16, 2003, 10:04pm UTC](https://forum.kirupa.com/t/loadmovie-with-dynamic-text-in-parent-movie-please-help/21084/3 "2003-05-16T22:04:02Z")

</div>

Pffff…I get the general idea of what you say, but I’m too thick as I still can’t make it work…  
Any other hint?? 😉

Thanks,  
Manare

---

<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:** [May 17, 2003, 1:10am UTC](https://forum.kirupa.com/t/loadmovie-with-dynamic-text-in-parent-movie-please-help/21084/4 "2003-05-17T01:10:15Z")

</div>

I really don’t get it… :block:  
The MC holder (named _MCimport_ in my fla) is the empty target MC which will hold the dynamic or the static text.

You say it should load whatever type of text when using: \*\*loadMovie (“MC-Clip.swf”, “MCimport”); \*\* but it only works when static text is used in MC-Clip.swf. After trying different combinations I found out that by adding \_root.\*\*loadMovie (“MC-Clip.swf”, “MCimport”); \*\* the target MC-Clip.swf was loaded…but not into destination MCimport but in fullscreen and overlapping the main movie. (!!!)  
…I really can’t understand why it is not loaded where I tell Flash to load it…

I’ll wait for more suggestions…the more I think about it the least I understand it…

Thanks!  
Manare

---

<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:** [May 18, 2003, 2:00pm UTC](https://forum.kirupa.com/t/loadmovie-with-dynamic-text-in-parent-movie-please-help/21084/5 "2003-05-18T14:00:08Z")

</div>

THIS IS AMAZING GUYS!!!

…I’ve been able to see that it was a problem of Windows FLASH PLAYER!!!..  
I normally work with Flash 5 but I also had a demo version of FlashMX coexisting in the same computer.  
For any strange reason default player in my Windows XP was _Flash Player 5 r30_. After reinstalling the Flash MX demo, the player is now _Version 6 r23_…and now it works…  
…and the most amazing thing (GOD give me patience…but NOW! ) is that if it wasn’t for that thing on version players, I would have done it well since the beginning -as you can see in my first post above- I firstly wrote:

> 

on (release) {  
loadMovie(“MC-Clip.swf”, “MCimport”);  
}

and seeing it didn’t work for dynamic text, I started all that mess about adding \_root’s and \_this and \_parent’s and other desperate nonsenses of mine…(as seen in my AS-fla with many // of “non-working” and “already tried” code)

OK, nevertheless…now I’m a happy guy!  
Just watch out everybody with such silly things which can bring you many headaches for details which are in a first instance, out of reach…

Specially thanks to eyezberg for the “brainstorming” exercise! 😛

Happy Flashing!  
Manare
