• 【设为首页】
  • 【收藏闪客居】
当前位置:主页>AS 应用>文章内容
  • 网站flash右键定制
  • 来源:网络 作者:终极讨厌 2007-06-04 【
看一个小示例。


var expandmenu = new ContextMenu();
function f1_func() {
tab1.enabled = false;
}
function f2_func() {
tab1.enabled = true;
}
expandmenu.hideBuiltInItems();
var tab1 = new ContextMenuItem("把我变成灰色", f1_func);
var tab2 = new ContextMenuItem("把它变回来", f2_func);
expandmenu.customItems.push(tab1, tab2);
_root.menu = expandmenu;

附件:
/upimg/soft/6/1_070604180347.rar



上一篇:仿央视网Flash动态导航菜单   下一篇:微型抽奖as程序
  • 用户名:新注册) 密码: 匿名评论
  • 评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规)


FLASH源文件

Copyright © 2006-2008 flashas.net All Rights Reserved.
网站内容咨询: admin#flashas.net (#为@) 联系QQ:40777822 浙ICP备06033001号
(本网站最佳浏览解析度为1024*768, 建议使用IE 6.0或以上版本浏览器。)