loadMovie problem

Hi,

I have 2 movies – one container that scrolls text which is inputted from an external text file, and one parent movie which loads that container into itself. Right now the container file isn’t visible at all when testing but runs properly when running only the container file independently with the neccessary variables inputted manually. I figure there is some sort of issue with my controlling file. Please review if you can.

Controlling absolute path: _level0.pgap.pages.dynamic_instance
Container absolute path: _level0.pgap.pages.dynamic_instance.myMovie

Controlling file:

var myVariable= "foo";

this.createEmptyMovieClip("myMovie",2);
this.myMovie.loadMovie("scroll_thing.swf");
this.myMovie._x = 205;
this.myMovie._y = 310;

Container file:

var myLV:LoadVars = new LoadVars();
myLV.onLoad = function() {

    var myvar = _parent.myVariable; //myVariable = foo
    myMC.html = true;
    myMC.myTextI.htmlText = this[myvar];
    
trace(myvar); //returns foo
    
    myMC.createClassObject(mx.controls.UIScrollBar, "myScrollBar", myMC.getNextHighestDepth());
    myMC.myScrollBar.setScrollTarget(myMC.myTextI);
    myMC.myScrollBar.setSize(16, myMC.myTextI._height);
    myMC.myScrollBar.move(myMC.myTextI._x+myMC.myTextI._width+5, myMC.myTextI._y);
};
myLV.load("myText.txt");

myMC.onEnterFrame = function() {
    myMC._alpha += 10;
    if (myMC._alpha >= 100) {
        myMC._visible = true;
        delete myMC.onEnterFrame;
    }
};

stop();

Thanks.