自定义flash右键菜单

      flash练习 2006-7-19 17:12
代码如下:

var my_cm:ContextMenu = new ContextMenu();
my_cm.hideBuiltInItems();
//my_cm.builtInItems.quality = true;
//my_cm.builtInItems.print = true;
my_cm.customItems.push(new ContextMenuItem("闪客天堂", sktt));
my_cm.customItems.push(new ContextMenuItem("闪客帝国", skdg, false));
my_cm.customItems.push(new ContextMenuItem("宁静的夏天", xiatian));
this.menu = my_cm;
function sktt() {
  getURL("http://www.flasher.com/", "_blank");
  }
function skdg() {
  getURL("http://www.flashempire.com/school/index.php", "_blank");
}
function xiatian() {
  getURL("http://blog.5d.cn/user18/dyzdj/index.html", "_blank");
}



Flash 动画
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commenttime}{commentauthor}

{CommentUrl}
{commentcontent}