ITeye博客

Flash AS2.0右键菜单代码

paulfzm · 2009-10-12 04:07 · Flash · Flash · Markdown

function rc_menu()
{
    getURL("http://www.XXX.COM", "_blank");
} // End of the function
getURL("FSCommand:fullscreen", true);
getURL("FSCommand:allowscale", false);
右键菜单 = new ContextMenu();
eval("右键菜单").hideBuiltInItems();
eval("右键菜单").customItems.push(new ContextMenuItem("Powered by XXXX", rc_menu, false));
_root.menu = eval("右键菜单");

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。