# Some help with even.target and coloTransform

**URL:** https://forum.kirupa.com/t/some-help-with-even-target-and-colotransform/298268
**Category:** Uncategorized
**Created:** [October 15, 2009, 6:30pm UTC](https://forum.kirupa.com/t/some-help-with-even-target-and-colotransform/298268 "2009-10-15T18:30:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Navarone](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Navarone](https://forum.kirupa.com/u/Navarone)
#### Post date: [October 15, 2009, 6:30pm UTC](https://forum.kirupa.com/t/some-help-with-even-target-and-colotransform/298268/1 "2009-10-15T18:30:49Z")

</div>

I create a grid of squares using XML. The XML contains color values for each square. A for loop is used to run through each node, create the square with the correct color. Once the squares are generated I want to click on them and get the colorValue and change the color of another larger square on my stage. For some reason I can’t get the value to pass from the XML function to the addEventListener.

I attached the fla and XML file I am using, need some help.:ko:
