Code works as 2 buttons, but not as one?

I’ve made a little demo fla so you can see what I mean, i can have 2 buttons, one that loads a movie that contains a dynamic text box, when i click first button it loads the movie, then the second one loads teh text into it, if i put the code together, loadmovie, then load text variable into text box, it doesnt work, gets as far as loading the movie, doesn’t load the text.
I thought it might be the movie not being fully loaded before trying to put the textfile into it so it wasnt loading anywhere, so I made a function whereby the combined button loaded a variable (the name of desired text.txt) that was updated by each button to see if that would buy it some time but ive never made functions in AS before, might have been poor coding that stopped it. Just so you know what i tried already…
The reason I need it to load the movie is because other buttons load a different movie file and to get back to a text one it will need to load textmov.swf which only has a text box.

well, heres the demo