[flash8] Problem loading dynamic text !PLEASE HELP!

Hi everyone thank you for taking a look at this. apparently i’m having problem loading this external text on to the movie clip… i have the main menu load the a xml menu on to a level movie clip and then the xml load menu load external swf but some how the text won’t load but everything else loads.

PLEASE TAKE A LOOK AT IT and tell me what i’m doing wrong…

Thanks in advance


stop();
var slideInfoLV:LoadVars = new LoadVars();
slideInfoLV.onLoad = function(success){
    if (success) {
        slideCounter();
    } else {
        frameNum.text = "Error";
    }
}
        
slideInfoLV.load("slide_info.txt");


var curFrameNum:Number = 0;

function loadFrame() {
    _level0.myMCL.loadClip("frames" + curFrameNum + ".jpg",this.frameAMC);
    [COLOR=Red]_level0.myLV.load("frames" + curFrameNum + ".txt");[/COLOR]
}

loadFrame();
function slideCounter() {
    frameNum.text = (curFrameNum + 1) + " of " + Number(slideInfoLV.totalFrames) + " Style";
}
// -----------<next slide button>----------------- \\
this.nextSlideBtn.onRollOver = function() {
    this.nextSlideBtn.box_mc._alpha = 10;
}
this.nextSlideBtn.onRelease = function() {
    if (curFrameNum < Number(slideInfoLV.totalFrames) - 1) {
        curFrameNum++;
    } else { 
    curFrameNum = 0;
    }
    loadFrame();
    slideCounter();
}
// -----------</next slide button>----------------- \\

// -----------<previous slide button>----------------- \\
this.prevSlideBtn.onRollOver = function() {
    this.prevSlideBtn.box_mc._alpha = 10;
}
this.prevSlideBtn.onRelease = function() {
    if (curFrameNum == 0) {
        curFrameNum = Number(slideInfoLV.totalFrames) - 1;
    } else { 
        curFrameNum --;
    }
    loadFrame();
    slideCounter();
}
// -----------</previous slide button>----------------- \\


var scrollDirection:String;
//-----<scroll buttons>------\\
this.scrollDown.onPress = function() {
    scrollDirection = "down";
    scrollText();
}
this.scrollDown.onRelease = function() {
    delete _root.onEnterFrame;
}
this.scrollDown.onReleaseOutside = function() {
    delete _root.onEnterFrame;
}
this.scrollUp.onPress = function() {
    scrollDirection = "up";
    scrollText();
}
this.scrollUp.onRelease = function() {
    delete _root.onEnterFrame;
}
this.scrollUp.onReleaseOutside = function() {
    delete _root.onEnterFrame;
}
function scrollText () {
    _root.onEnterFrame = function () {
        if (scrollDirection == "up") {
            loadedInfo.scroll -= 1;
            } else if (scrollDirection == "down") {
                       loadedInfo.scroll += 1;
                       }
    }
}

//-----</scroll buttons>------\\
[COLOR=Red] // -----------------<TextField.StyleSheet>---------------- \\
[/COLOR][COLOR=Red] var cssStyles:TextField.StyleSheet = new TextField.StyleSheet ();
[/COLOR][COLOR=Red] cssStyles.load ("styles.css");
[/COLOR][COLOR=Red] cssStyles.onLoad = function (success) {
[/COLOR][COLOR=Red]     if (success) {
[/COLOR][COLOR=Red]         loadedInfo.styleSheet = cssStyles;
[/COLOR][COLOR=Red]         loadFrame();
[/COLOR][COLOR=Red]     } else {
[/COLOR][COLOR=Red]         loadedInfo.text = "There has been an error loading the requested information.  Please contact the Webmaster and report your error.";
[/COLOR][COLOR=Red]     }
[/COLOR][COLOR=Red] }[/COLOR]