hi, i feel like this should be easy, but i’m having quite a time with it… i’m trying to load from one text file, formatted in the Shorts=blahblah&Standup=nownow&Tv=yaddayadda way to 3 text files with instance names of loadedInfo, loadedInfo2 and loadedInfo3 respectively, all are html text fields and need to link to frames (separate ones, but i’ll get into that later… that’s a little cart in front of the horse…). i am using this actionscript to call the files in:
myData = new LoadVars();
myData.onLoad = function() {
loadedInfo.htmlText = this.Shorts
loadedInfo2.htmlText = this.Standup
loadedInfo3.htmlText = this.Tv
};
myData.load(“videobuttons.txt”);
and am getting a syntax error message for the first line, the myData=new LoadVars bit… i have tried multiple ways of doing the myData method and only errors. seems like others have had success with this… any help? i’ve looked all over and have not found a solution…
part 2, for brave souls. so, from the txt file i want to load into separate frames (either 2 iframes or an iframe and a dynamic text field)… nothing i’ve tried with this has been working either. i think this is more of an html formatting issue. tried to add a line of javascript, but flash wasn’t having it.
suggestions?
thanks in advance…