# Please help!

**URL:** <https://forum.kirupa.com/t/please-help/297988>\
**Category:** Uncategorized\
**Created:** [October 11, 2009, 10:55pm UTC](https://forum.kirupa.com/t/please-help/297988 "2009-10-11T22:55:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashDever](https://avatars.discourse-cdn.com/v4/letter/f/3ec8ea/32.png) [@FlashDever](https://forum.kirupa.com/u/FlashDever)\
**Post date:** [October 11, 2009, 10:55pm UTC](https://forum.kirupa.com/t/please-help/297988/1 "2009-10-11T22:55:08Z")

</div>

Hello

I keep getting the following error msg below I would be very happy if some knows the solution to this:

Error Msg:

1118: Implicit coercion of a value with static type Object to a possibly unrelated type flash.events:Event

Object A dispatches Event as:

```auto

   dispatchEvent({type:MainMenuEvents.EVENT_MENU_SELECTED, dataObj:"BMW"});

```

Object B adds the event listener:

```auto
 

  menu.addEventListener(MainMenuEvents.EVENT_MENU_SELECTED, this.showChanged);

```

Object B contains the event handler:

```auto

   public function showChanged(event:Event):void{
			
			trace(event.dataObj);

  }

```

Thanks
