# Loading dynamic/static txt from a MC: Strange behaviour

**URL:** <https://forum.kirupa.com/t/loading-dynamic-static-txt-from-a-mc-strange-behaviour/21028>\
**Category:** flash\
**Created:** [May 16, 2003, 12:06am UTC](https://forum.kirupa.com/t/loading-dynamic-static-txt-from-a-mc-strange-behaviour/21028 "2003-05-16T00:06:06Z")\
**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, 12:06am UTC](https://forum.kirupa.com/t/loading-dynamic-static-txt-from-a-mc-strange-behaviour/21028/1 "2003-05-16T00:06:06Z")

</div>

Hi.  
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!!

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, 12:14am UTC](https://forum.kirupa.com/t/loading-dynamic-static-txt-from-a-mc-strange-behaviour/21028/2 "2003-05-16T00:14:08Z")

</div>

to link a seperate swf to a empty mc it should be:

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

Someone can correct me if I am wrong, but thats what works for me.

---

<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, 12:53am UTC](https://forum.kirupa.com/t/loading-dynamic-static-txt-from-a-mc-strange-behaviour/21028/3 "2003-05-16T00:53:36Z")

</div>

Thanks TitrationX. That’s correct…but in your example I don’t seem to see any dynamic text being loaded.

My problem is not when loading an external MC to the main/parent movie, my problems start after that.  
If you want to have a look at it all, here you are the zipped fla (12Kb): [Fla (Flash 5!)](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.  
Thanks again! Let’s see if we can work it out! 😉

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, 6:16pm UTC](https://forum.kirupa.com/t/loading-dynamic-static-txt-from-a-mc-strange-behaviour/21028/4 "2003-05-16T18:16:08Z")

</div>

Hi.  
I’ve already tried it with FLASH MX, but the problem persists…

Any idea?  
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 18, 2003, 1:57pm UTC](https://forum.kirupa.com/t/loading-dynamic-static-txt-from-a-mc-strange-behaviour/21028/5 "2003-05-18T13:57:14Z")

</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…

Happy Flashing!  
Manare
