Expand my Community achievements bar.

Roster class userMenuItemClick

Avatar

Former Community Member

It seems that when I try to add an event listener for when a menu item is click in a roster I am getting a compile error.

code:

roster.addEventListener(MenuEvent.USER_MENU_ITEM_CLICK, onMenuItemClick, false, 0, true );

error:

Severity and Description Path Resource Location Creation Time Id

1119: Access of possibly undefined property USER_MENU_ITEM_CLICK through a reference with static type Class.

seems like that constant isnt in the menuEvent class, has anyone else run into this?

-chris

0 Replies