# \[MX4\] help! loadMovie pb

**URL:** <https://forum.kirupa.com/t/mx4-help-loadmovie-pb/43802>\
**Category:** Uncategorized\
**Created:** [February 26, 2004, 1:10am UTC](https://forum.kirupa.com/t/mx4-help-loadmovie-pb/43802 "2004-02-26T01:10:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)\
**Post date:** [February 26, 2004, 1:10am UTC](https://forum.kirupa.com/t/mx4-help-loadmovie-pb/43802/1 "2004-02-26T01:10:23Z")

</div>

Hello,  
i’m having this weird pb i don’t understand, could someone help me? i’m driving crazy here…

what i do is load a movie from a movie but the 2nd movie load a variable. when i test the 2nd movie, it loads its variable and displays it as wanted, but when i load it from the 1st movie, the 2nd movie loads but seem not to load anymore its variable…

1st movie:  
[AS]  
onClipEvent(load){  
\_root.createEmptyMovieClip(“container” , 5000);  
loadMovie(“2nd\_movie.swf” , \_root.container);  
}  
[/AS]

2nd movie:  
[AS]  
onClipEvent (load) {  
loadText = new LoadVars();  
loadText.load(“news.txt”);  
loadText.onLoad = function() {   
\_root.MCtexte.createTextField(“lechamp”, 10, 15, 8, 387, 460);  
\_root.MCtexte.lechamp.html = true;  
\_root.MCtexte.lechamp.htmlText = this.myNews;  
\_root.MCtexte.lechamp.condenseWhite = true;  
\_root.MCtexte.lechamp.multiline = true;  
\_root.MCtexte.lechamp.wordWrap = true;  
\_root.MCtexte.lechamp.selectable = false;  
MyTextFormat = new TextFormat();  
MyTextFormat.color = 0xFFFFFF;  
MyTextFormat.font = “verdana”;  
MyTextFormat.size = 11;  
\_root.MCtexte.lechamp.setTextFormat(MyTextFormat);  
}  
}  
[/AS]  
what is wrong???
