5D艺术网首页
商城
|
资讯
|
作品
|
博客
|
教程
|
论坛
登录
注册
加为好友
发短消息
来自:
性别:秘密
最后登录:2009-06-08
http://dyzdj.5d.cn/
首页
|
新闻
|
话题
|
博客
|
相册
|
艺术作品
|
社交关系
|
留言板
|
社交圈
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]