# Mc array and text

**URL:** <https://forum.kirupa.com/t/mc-array-and-text/190141>\
**Category:** Uncategorized\
**Created:** [June 8, 2006, 11:38pm UTC](https://forum.kirupa.com/t/mc-array-and-text/190141 "2006-06-08T23:38:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oldgreymare](https://avatars.discourse-cdn.com/v4/letter/o/838e76/32.png) [@oldgreymare](https://forum.kirupa.com/u/oldgreymare)\
**Post date:** [June 8, 2006, 11:38pm UTC](https://forum.kirupa.com/t/mc-array-and-text/190141/1 "2006-06-08T23:38:31Z")

</div>

Hi there everybody.  
I don’t know why but I always get confused with arrays. Am I forgetting something important? It should be so simple.  
Why doesn’t this work?

```auto
for(i=0;i<7;i++){
   cat1=new Array("q1_mc","q6_mc","q11_mc","q16_mc","q21_mc","q26_mc");
   cat1*.score_txt.text = "100";
}

```

When I write it out individually it works so it’s not my paths or anything.

```auto
q1_mc.score_txt.text="100";
q6_mc.score_txt.text="100"; 
etc.

```

I feel silly not being able to figure this out.
