Hi all,
Im doing a uni project - building my website in flash!
Im using actionscript 2.0, I’m not too experienced in this so excuse me if I use incorrect terminology.
Basically - my website has 5 links. Each time you click a link, the webpage is supposed to do an animation, and then load the information (txt file).
I’ve managed to code it, so that the txt file loads as soon the animation starts but I want it to load AFTER it finishes. Can anybody help?
I’ve used this
on (release) {
loadText = new LoadVars();
loadText.load("TEXT1.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}
I’m not sure if I’ve explained it thoroughly enough but if you are willing to help and I need to provide more information please let me know.
thanks in advance.