# How can a component detect it's own index change?

**URL:** https://forum.kirupa.com/t/how-can-a-component-detect-its-own-index-change/278874
**Category:** flash
**Created:** [January 6, 2009, 10:29pm UTC](https://forum.kirupa.com/t/how-can-a-component-detect-its-own-index-change/278874 "2009-01-06T22:29:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xbrotherx](https://avatars.discourse-cdn.com/v4/letter/x/ed655f/32.png) [@xbrotherx](https://forum.kirupa.com/u/xbrotherx)
#### Post date: [January 6, 2009, 10:29pm UTC](https://forum.kirupa.com/t/how-can-a-component-detect-its-own-index-change/278874/1 "2009-01-06T22:29:56Z")

</div>

If I have a component (A) based on a Canvas container, and it’s index changes due to another component (B) being added to the same parent container as component “A”, how can I have component “A” listen for it’s own change in index?

I have tried listening for the IndexChangedEvent.CHANGE but to no avail.
