Hi guys,
anyone know how to do this:
in my dynamic text box i have some text with this for a link:
asfunction:_root.activate,qs,q1
in the actions layer i have this:
function activate (num) {
splittedVar = num.split(",");
trace(splitted[0]);
trace(splitted[1]);
_root.gotoAndPlay(splittedVar[0]);
}
it goes to and plays “qs” just fine but when i get there i have this in the actions layer and it does not work
Ext_text = new LoadVars();
Ext_text.onLoad = addText;
Ext_text.load(“faq.txt”);
function addText() {
qtxt.htmlText = this(splittedVar[1]);
}
i want it to pull the text from under the varible called “q1” from faq.txt, if i replace (splittedVar[1]); with .q1 it works, but this way doesnt, any help would be great!