I like to load an external txt file in a swf and the swf is in the movie on the root. Is it possible to load the external txt file?
I know if the dynamic text box is in the movie it works. But what if the swf with the dynamic textboxis in the movie?
This is the code on the button when i want to load it in the movie but what is the code when i load the swf with the textbox in the movie?
on (release) {
loadText = new loadVars();
loadText.load(“text1.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
_level0.content.kop.html = true;
_level0.content.kop.htmlText = this.titel;
}
};
};