In the tutorial with that name there is this code:
on (release) {
loadText = new loadVars();
loadText.load("TEXT1.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}
What´s the purpose of this part?
function(success) {
if (success) {
Is there any chance for “success” to be false?