# f8 textouput/array (quiz app)

**URL:** <https://forum.kirupa.com/t/f8-textouput-array-quiz-app/218418>\
**Category:** flash\
**Created:** [March 7, 2007, 4:23pm UTC](https://forum.kirupa.com/t/f8-textouput-array-quiz-app/218418 "2007-03-07T16:23:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [March 7, 2007, 4:23pm UTC](https://forum.kirupa.com/t/f8-textouput-array-quiz-app/218418/1 "2007-03-07T16:23:09Z")

</div>

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:

```auto
 
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)

```auto
 
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
