Load a .swf within .swf file as per text file value

I just want to load a .swf file withing my current .swf file as per the value the external text file.

I have done few experiments too.

  1. I have writter below code on the first frame of my movie. here “myMC” is my target movie clip inside which i want to load another swf file.

loadVariables(“myData.txt”, “_root.myMC”);

  1. the code of my external text file is as below
    sm=one.swf;

Now my doubt is where and how i should write the loadmovie command to load my swf file.

can anyone please give me the logic or can send me sample files.
my email id is : sanjay2211@rediffmail.com