# ::angry array::

**URL:** <https://forum.kirupa.com/t/angry-array/237425>\
**Category:** flash\
**Created:** [August 30, 2007, 8:32am UTC](https://forum.kirupa.com/t/angry-array/237425 "2007-08-30T08:32:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lilleypants](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Post date:** [August 30, 2007, 8:32am UTC](https://forum.kirupa.com/t/angry-array/237425/1 "2007-08-30T08:32:51Z")

</div>

AS2 Problem:

I have a bunch of words stored in an array and I need to change there colour and underline them. I thought of doing a for look something like this:

```auto
 
 
for (chr in hlword) {
 format = new TextFormat(); 
 format.color = 0x0024ff;
 format.underline = true;
 hlword.text.setTextFormat(format); 
 
}

```

hlword is the array name

But that doesn’t seem to be working, does anyone have any suggestions on how to go about it?

In real need of help before I gaining a nervous twitch :wt:

Thanks
