Hi,
Well, I have been playing around with this for a while now, I have managed to achieve one or two quite spectacular results, and have gained a better understanding of components and the way they work, although opening the core developer folder is a bit like opening a can worms ( lol!!!)
Next question which doen't involve compenents at all, is, how do I alter the code below to load my .txt file in list format into an ordinary dyanamic text box. Is that possible ?
My txt file looks like this :
&name0=Question1 Page1 Range1&
&name1=Question2 Page1 Range1&
&name2=Question3 Page1 Range1&
&name3=Question4 Page1 Range1&
&name4=Question5 Page1 Range1&
&name5=Question6 Page1 Range1&
etc etc to 40 questions
&numQuestions=40&
and my Loadvars is:
ActionScript Code:
myQuestions1 = new LoadVars();
myQuestions1.onLoad = addQuestions1;
myQuestions1.load("Questions1-40.txt");
function addQuestions1() {
for (var i=0; i<this.numQuestions; i++) {
nilForty.addItem(this["name"+i]);
}
}
Cheers
Vosgien