I am loosing my mind with this error - Both files are running on the same domain. I am simply calling a another movie within a movie using the global variable feature. Howver even hardcoding the variable _global.directionsText the import-html.swf movie returns a undefined error
//Frame 1 - Actionscript from Calling Movie
_global.directionsText="[http://www.mysite.com/access_db/viki/narrative/myHTML.txt](http://www.mysite.com/access_db/viki/narrative/myHTML.txt)";
// Actionscript to open another movie
on(release) {
theEmptyMC.loadMovie("import-html.swf", 1);
}
///// FRame 1 Actionscript of import-html.swf movie
source =directionsText;
text_field.html = true;
txt_lv = new LoadVars();
txt_lv.onData = function (rawData) {
if (rawData) { // data has successfully loaded
trace("data has loaded successfully");
text_field.htmlText = rawData;
} else { // data has not successfully loaded
directionsText= "There are no directions for this Quiz";
trace("error: the data did not load");
} // end "if (success)"
}
txt_lv.load(source);