2006/07/19 | 自定义flash右键菜单
类别(flash练习) | 评论(0) | 阅读(328) | 发表于 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 动画
0

评论Comments

日志分类
首页[49]
flashcs3[14]
coredraw[1]
flash练习[9]
AS2[7]
生活点滴[14]
资源下载[3]
photoshop[1]