# Trigger Event

**URL:** <https://forum.kirupa.com/t/trigger-event/250416>\
**Category:** flash\
**Created:** [January 29, 2008, 11:57am UTC](https://forum.kirupa.com/t/trigger-event/250416 "2008-01-29T11:57:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixelDepth](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pixelDepth](https://forum.kirupa.com/u/pixelDepth)\
**Post date:** [January 29, 2008, 11:57am UTC](https://forum.kirupa.com/t/trigger-event/250416/1 "2008-01-29T11:57:19Z")

</div>

Hey,

I have a list component, what I wish to do is when you hover on a cell, it then grabs that row index (which I can do), and then it looks at another list component to fire the roll over event.

How can I do that in AS3?

I read on on event dispatching, but still am no where closer to my goal.

Thanks

Here is my method…

```php
private function fire_event(event:ListEvent):void {
	mylist.getItemAt(event.rowIndex).dispatchEvent(new ListEvent(ListEvent.ITEM_ROLL_OVER));
}

```

I just get an error…

“dispatchEvent is not a function”
