as3增加自定义右键菜单实现程序
代码如下 | 复制代码 |
var myContextMenu:ContextMenu = new ContextMenu(); mAuthor.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, itemSelectHandler); |
补充:flash教程,As3.0
代码如下 | 复制代码 |
var myContextMenu:ContextMenu = new ContextMenu(); mAuthor.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, itemSelectHandler); |
补充:flash教程,As3.0