Menus.
The class simply redispatches the ContextMenuEvent.MENU_ITEM_SELECT event to any parties interested in responding to menu events outside of the actual class. This allows for a little more flexibility with how events are handled and how the menu itself is set up. By using this approach the menu can be a a little more dynamic.
Class Features
- Public Methods
- addMenuItem() - add menu item at run time
- removeMenuItem() - remove menu item at run time
- hideMenuItem() - hide menu item at run time
- showMenuItem()_ - show menu item at run time
- + a few getters
View Example
http://www.noponies.com/dev/as3_context_menu/
Source Files
http://www.blog.noponies.com/wp-content/uploads/npcontextmenu.zip
Dependencies
None