Trigger Event


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.


Here is my method…

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”