hi guys i have made the dynamic text loader to the flash file.
which is not workin.
here is the script
loadVariables("text.txt", "");
this.onLoad = function() {
filesize = txtCamp.getBytesTotal();
};
this.onEnterFrame = function() {
loaded = txtCamp.getBytesLoaded();
txt_loader._visible = true;
if (loaded != filesize) {
txt_loader._visible = true;
} else {
txt_loader._visible = false;
}
};
don’t understand where is the problem on the script.
i need the preloader before the text loads to the swf file.
plz help