Loaded SWF Problems with Scope?

Hey,
This is my first post, but reading others in this forum has helped me many times.

I have a main movie which loads external swf’s into a content area after the user has clicked a button on the navigation bar. One of the swf’s loads variables from an external text file/asp which it uses to load images and populate text fields with names of each image. I am having trouble getting the externally loaded swf to load the images/text within itself properly. When the swf is run on its own, everything seems to work just fine. However, when the swf is loaded into the main movie, the images/text do not display.

I’ve tried to track down my problem with trace statements in various places. When loaded into the main movie, it still traces the names of each image and all the array data just fine, but the images simply will not load and the text fields will not populate.

I’ve tried using relative paths, _level0, _root with _lockroot, and _global.

//===================================
// DEFINE MC LOADER AND LISTENER
//===================================
_global.MCListener = new Object();
MCListener.onLoadInit = function(targetMC:MovieClip) {
trace(targetMC+" Loaded Thumb Image “);// [color=blue]DOES NOTHING IN MAIN MOVIE [/color]
};
_global.MCLoader = new MovieClipLoader();
MCLoader.addListener(MCListener);
//===================================
// DEFINE GLOBALS
//===================================
_global.page_num = 0;
_global.cat = “none”;
_global.thumb_dir = “none”;
_global.tlv = “none”;
_global.nlv = “none”;
_global.t = 0;
//===================================
// DEFINE LOADVARS
//===================================
lv = new LoadVars();
lv.onLoad = function(success:Boolean) {
if (success) {
trace(“Loaded Variables”);// [color=blue]WORKS FINE[/color]
loadRange();
if (_global.page_num>0) {
loadThumbs();
}
} else {
trace(“Error Loading Variables”);
}
};
//===================================
// DEFINE FUNCTIONS
//===================================
//*****************************
// LOAD GRID
function loadGrid() {
var xPos = 0;
var yPos = 0;
for (i=0; i<=15; i++) {
attachMovie(“gridbox”, “box”+i, i, {_x:xPos, _y:yPos});
if (i<5) {
xPos = i110;
}
if (i>4 && i<10) {
xPos = i
110-550;
yPos = 102;
}
if (i>9 && i<=15) {
xPos = i*110-1100;
yPos = 204;
}
}
}
//*****************************
// LOAD RANGE
function loadRange() {
//--------------------------------
// PARSE VARS
_global.cat_lv = lv.category;
_global.cat_arr = _global.cat_lv.split(”,");
_global.cats = _global.cat_arr.slice(0, -1);
_global.cc = _global.cats.length;
//
_global.thumb_lv = _global.tlv;
_global.thumb_arr = _global.thumb_lv.split(",");
_global.thumbs = _global.thumb_arr.slice(0, -1);
_global.tc = _global.thumbs.length;
//
_global.name_lv = _global.nlv;
_global.name_arr = _global.name_lv.split(",");
_global.names = _global.name_arr.slice(0, -1);
_global.nc = _global.names.length;
//--------------------------------
// DEFINE ARRAY
_global.range = new Array(tc);
for (t=0; t<tc; t++) {
range[t] = new Array(2);
range[t][0] = thumbs[t];
range[t][1] = names[t];
trace(t+1+" “+range[t][0]+” “+range[t][1]);// [color=blue]WORKS FINE[/color]
}
trace(“Loaded Range Data”);// [color=blue]WORKS FINE[/color]
}
//
function loadThumbs() {
for (t=0; t<=tc; t++) {
if (t>0 && t<=15) {
MCLoader.loadClip(_global.thumb_dir+range[t-1][0], _level0[“box”+t].thumb_img, t);
_level0[“box”+t].name_txt.text = range[t-1][1];
trace(range[t-1][0]);// [color=blue]WORKS FINE[/color]
}
}
trace(“Loaded Thumb List”);// [color=blue]WORKS FINE[/color]
}
//===================================
// DEFINE BUTTONS
//===================================
//*****************************
// SHORTS BUTTON
shorts_m_btn.onRelease = function() {
loadGrid();
_global.page_num = 1;
_global.cat = “shorts”;
_global.thumb_dir = “/products/”+_global.cat+”/";
_global.tlv = lv.shorts_m_thumb;
_global.nlv = lv.shorts_m_name;
//
lv.load("/products/range.txt");// [color=blue]I GET[/color] [color=blue]“UNDEFINED” WITHOUT THIS
[/color]
//*****************************
// HATS BUTTON
hats_btn.onRelease = function() {
//loadGrid();
_global.page_num = 0;
_global.cat = “none”;
_global.tlv = “none”;
_global.nlv = “none”;
};
hats_btn.onRollOver = function() {
soon_txt.text = “COMING SOON!”;// [color=blue]THIS DOES NOT DISPLAY IN MAIN MOVIE[/color]
trace(soon_txt.text);// [color=blue]BUT THIS WORKS FINE[/color]
};
hats_btn.onRollOut = function() {
soon_txt.text = “”;
};
//===================================
// LOAD EXTERNAL VARIABLES
//===================================
lv.load("/products/range.txt");

 
I clipped out other buttons' code since they are nearly the same.
 
So if my main movie can see all the data it needs to load, why doesn't it load? From what I can see, there is something wrong with my MCLoader/MCListener because that triggers the only trace statement I can't see in the main movie.