Hey Guys, I'm sure there must be some simple fix to this problem but
here goes anyway -
I've got a flash document that is loading content form an external text
file - heres the actionscript
var PortTxt = new LoadVars();
PortTxt._parent = this;
PortTxt.onLoad = function(success){
if(success){
this._parent.portContent_txt.htmlText = this.welcome;
}
}
PortTxt.load("portfolio.txt");
That works fine. However, In the same text file there are other
variables such as &txt_design. I have a button called btnG1Design that
is supposed to load the &txt_design varible into the dynamic text box
called portContent_txt - heres the actionscript -
btnG1Design.onRelease = function() {
portContent_txt.htmlText = this.txt_design;
}
This doesnt work...., I click on the button and it appears with
undefined... And I don't know why// Can anyone help out? :()
Regards
NChhabra.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders