Hi I have got a function which traces out the correct answers to questions the user got wrong.
However I am easily stumpped when it means getting this information into a text field.:shifty:
for(i=1;i<11;i++){
if(_root.incorrect* == "incorrect"){
// trace works
trace(_root.answerArt*)
// text doesn't work
container.container1.descriptionholder.text = _root.answerArt*
//_root["answerArt"+i]
}
}
(The final idea is that there are buttons, that once clicked gives the correct answer for the wrong question. But at the moment its just the same result :P)
container.resultsDisplay["indicator"+_root.Butcounter].onRelease = function() {
trace("press");
for(j=1;j<11;j++){
if (_root.incorrect[j] == "incorrect") {
trace(_root.answerArt[j])
}
}
thanks