Ok, this is what it looks like now, but I get the same error.
// Loading the Dynamic Text File
var PortTxt = new LoadVars();
//PortTxt._parent = this;
PortTxt.onLoad = function(success){
if(success){
portContent_txt.htmlText = this.welcome;
}
}
PortTxt.load("portfolio.txt");
//Menu - Buttons
btnG1Design.onRelease = function() {
portContent_txt.htmlText = this.txt_design;
}
btnG1Maths.onRelease = function() {
portContent_txt.htmlText = this.txt_maths;
}
btnG1English.onRelease = function() {
portContent_txt.htmlText = this.txt_english;
}
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders