❶ FLASH右键怎么添加具体的
先获取FLASH地址,复制
然后自定义建立FLASH模块,粘贴FLASH地址到FLASH动画地址就行了。
❷ 怎样给Flash添加右键
在你的flash里面第一帧加上下面代码看看。哈哈!是不是可以啦。自己研究研究吧
my_cm = new ContextMenu();// 申明一个新的菜单对象
my_cm.hideBuiltInItems();// 屏敞当前的右键菜单
my_cm.customItems.push(new ContextMenuItem("思伟设计", menu1));// 创建一个新的子菜单,名为“技术支持-思伟设计”,并设置menu1为响应函数
function menu1(obj, item) {
trace("思伟设计");
getURL("http://far.si-w.cn", "_blank");// “技术支持-思伟设计”的响应函数具体内容
}
_root.menu = my_cm;// 将当前定义的菜单绑定到主场景的右键菜单上
❸ 如何添加FLASH右键自定义菜单用什么工具
我给你一个右键菜单生成器吧!可以做很好看的FLASH菜单,也可以做弹出链接.
❹ FLASH右键自定义版权
AS2代码:
var my_cm:ContextMenu = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("版权", new_menu, true));
function new_menu(obj, item) {
getURL("http://hi..com/tbg0531/ihome/ihomefeed");
}
this.menu = my_cm;
AS3代码:
var myContextMenu = new ContextMenu();
myContextMenu.hideBuiltInItems();
var ss:ContextMenuItem=new ContextMenuItem("新增右键菜单");
ss.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,onthis);
myContextMenu.customItems.push(ss);
this.contextMenu = myContextMenu;
function onthis(evt:ContextMenuEvent):void {
navigateToURL(new URLRequest("http://hi..com/tbg0531/ihome/ihomefeed"));
}
❺ 如何在FLASH中插入右键菜单
1不带连接的脚本var myContextMenu:ContextMenu =new ContextMenu(menuHandler);myContextMenu.hideBuiltInItems();var item_1:ContextMenuItem=new ContextMenuItem ("《FLASH和PS交流群》",itemHandler);//插入一个分割线var item_2:ContextMenuItem=new ContextMenuItem ("《FLASH和PS交流群,欢迎你的加入77》",itemHandler,true);//插入一个分割线var item_3:ContextMenuItem=new ContextMenuItem ("《FLASH和PS交流群,欢迎你的加入99》",itemHandler,true);var item_4:ContextMenuItem=new ContextMenuItem ("《FLASH和PS交流群,欢迎你的加入00》",itemHandler);myContextMenu.customItems.push(item_1);myContextMenu.customItems.push(item_2);myContextMenu.customItems.push(item_3);myContextMenu.customItems.push(item_4);//也可以这样添加菜单项myContextMenu.customItems.push(new ContextMenuItem("FLASH和ps交流的地方111",itemHandler));myContextMenu.customItems.push(new ContextMenuItem("FLASH和ps交流的地方222",itemHandler));myContextMenu.customItems.push(new ContextMenuItem("FLASH和ps交流的地方333",itemHandler));myContextMenu.customItems.push(new ContextMenuItem("FLASH和ps交流的地方444",itemHandler));//该函数在右键单击弹出菜单时调用function menuHandler(obj,menuobj){//返回truemenuobj.customItems[0].enabled=false;}//注意 ,我们为每一菜单项都定义了同一个函数function itemHandler(obj,item){trace (caption);for (i in item){trace(i);}}//使用MovieClip的属性 this.menu=myContextMenu;2带连接的脚本function ii1(){ getURL(" http://www..com", "_blank");} function ii2(){ getURL(" http://www.yahoo.cn", "_blank");} // End of the functionfunction ii3(){ getURL(" www.qq.com", "_blank");} 右键菜单 = new ContextMenu();eval("右键菜单").hideBuiltInItems();eval("右键菜单").customItems.push(new ContextMenuItem("网络网", ii1, false));eval("右键菜单").customItems.push(new ContextMenuItem("雅虎中文网", ii2, false));eval("右键菜单").customItems.push(new ContextMenuItem("QQ腾讯公司", ii3, false));_root.menu = eval("右键菜单");希望采纳我的答案!!祝福楼主心想事成
❻ 怎么在自己做的FLASH右键菜单中加连接(胡乱粘贴者勿进)
给个示例你
详细解释建议你在FLASH8中按F1
ActionScript 2.0 语言参考 > ActionScript 类 > ContextMenu
中查看相关示例及解释
还有 FLASH允许添加的菜单项数不超过15项
//创建自定义菜单
var CustomMenu:ContextMenu = new ContextMenu();
CustomMenu.hideBuiltInItems();
var CMI001:ContextMenuItem = new ContextMenuItem("==== =轻轻松松学五笔= ====", Fuc_Menu1);
var CMI002:ContextMenuItem = new ContextMenuItem("+- 切换到上一页(←键) -+", Fuc_Menu2);
var CMI003:ContextMenuItem = new ContextMenuItem("+- 1.认识英文字母 -+", Fuc_Menu3);
var CMI004:ContextMenuItem = new ContextMenuItem("+- 2.打字指法 -+", Fuc_Menu4);
var CMI005:ContextMenuItem = new ContextMenuItem("+- 3.关于五笔输入法 -+", Fuc_Menu5);
var CMI006:ContextMenuItem = new ContextMenuItem("+- 4.五笔拆字方法 -+", Fuc_Menu6);
var CMI007:ContextMenuItem = new ContextMenuItem("+- 5.五笔输入规则 -+", Fuc_Menu7);
var CMI008:ContextMenuItem = new ContextMenuItem("+- 6.字根表助记歌详解 -+", Fuc_Menu8);
var CMI009:ContextMenuItem = new ContextMenuItem("+- 7.学习五笔经验总结 -+", Fuc_Menu9);
var CMI010:ContextMenuItem = new ContextMenuItem("+- 8.后 记 -+", Fuc_Menu10);
var CMI011:ContextMenuItem = new ContextMenuItem("+- 9.轻松一刻-双低金句 -+", Fuc_Menu11);
var CMI012:ContextMenuItem = new ContextMenuItem("+- 切换到下一页(→键) -+", Fuc_Menu12);
var CMI013:ContextMenuItem = new ContextMenuItem("广东科学技术职业学院学生论坛", Fuc_Menu13);
var CMI014:ContextMenuItem = new ContextMenuItem("一些事一些情官方网站", Fuc_Menu14);
var CMI015:ContextMenuItem = new ContextMenuItem("====小鸟精神 服务社群====", Fuc_Menu15);
CMI002.separatorBefore = true;
CMI003.separatorBefore = true;
CMI010.separatorBefore = true;
CMI013.separatorBefore = true;
CMI015.separatorBefore = true;
CMI001.enabled = false;
CMI002.enabled = false;
CMI015.enabled = false;
CustomMenu.customItems.push(CMI001);
CustomMenu.customItems.push(CMI002);
CustomMenu.customItems.push(CMI012);
CustomMenu.customItems.push(CMI003);
CustomMenu.customItems.push(CMI004);
CustomMenu.customItems.push(CMI005);
CustomMenu.customItems.push(CMI006);
CustomMenu.customItems.push(CMI007);
CustomMenu.customItems.push(CMI008);
CustomMenu.customItems.push(CMI009);
CustomMenu.customItems.push(CMI010);
CustomMenu.customItems.push(CMI011);
CustomMenu.customItems.push(CMI013);
CustomMenu.customItems.push(CMI014);
CustomMenu.customItems.push(CMI015);
function Fuc_Menu1() {
//
}
function Fuc_Menu2() {
if (_root._currentframe>3) {
_root.prevFrame();
CMI012.enabled = true;
} else if (_root._currentframe == 3) {
_root.prevFrame();
CMI002.enabled = false;
}
}
function Fuc_Menu3() {
_root.gotoAndStop(3);
}
function Fuc_Menu4() {
_root.gotoAndStop(4);
}
function Fuc_Menu5() {
_root.gotoAndStop(7);
}
function Fuc_Menu6() {
_root.gotoAndStop(9);
}
function Fuc_Menu7() {
_root.gotoAndStop(11);
}
function Fuc_Menu8() {
_root.gotoAndStop(15);
}
function Fuc_Menu9() {
_root.gotoAndStop(18);
}
function Fuc_Menu10() {
_root.gotoAndStop(19);
}
function Fuc_Menu11() {
_root.gotoAndStop(21);
}
function Fuc_Menu12() {
if (_root._currentframe<21) {
_root.nextFrame();
CMI002.enabled = true;
} else if (_root._currentframe == 21) {
_root.nextFrame();
CMI012.enabled = false;
}
}
function Fuc_Menu13() {
getURL("http://bbs.kgbbs.cn", "_blank");
}
function Fuc_Menu14() {
getURL("http://www.loveq.cn", "_blank");
}
function Fuc_Menu15() {
//
}
this.menu = CustomMenu;
❼ flash动画怎么弄右键版权
放到第一帧试试。
my_cm = new ContextMenu();// 声明一个新的菜单对象
my_cm.hideBuiltInItems();// 屏蔽当前的右键菜单
my_cm.customItems.push(new ContextMenuItem("乐彩文化", menu1));
function menu1(obj, item) {
trace("乐彩文化");
getURL("http://", "_blank");} //这里de链接,你自己改
_root.menu = my_cm;// 将当前定义的菜单绑定到主场景的右键菜单上
我之前答过,当然,这是as2的代码
❽ 如何添加Flash右键菜单
右键菜单 = new ContextMenu();
右键菜单.hideBuiltInItems();
右键菜单.customItems.push(new ContextMenuItem('【�6�6{绝经�6�3.设计,请勿模仿】', dj_menu0, false));
右键菜单.customItems.push(new ContextMenuItem('【QQ:147246328】', dj_menu1, false));
右键菜单.customItems.push(new ContextMenuItem('【21克拉爱情】', dj_menu2, false));
右键菜单.customItems.push(new ContextMenuItem('【中国2008奥运会】', dj_menu3, false));
右键菜单.customItems.push(new ContextMenuItem('【点这里跳到我空间】', dj_menu4, false));
function dj_menu0() {
getURL(" ", "_blank");
}
function dj_menu1() {
getURL(" ", "_blank");
}
function dj_menu2() {
getURL(" ", "_blank");
}
function dj_menu3() {
getURL(" ", "_blank");
}
function dj_menu4() {
getURL("http://user.qzone.qq.com/147246328", "_blank");
}
_root.menu = 右键菜单;
有什么不明白的请再次给我留言,以后对FLASH有什么不明白的我愿意帮助你,指点你,愿意做你的指点老师!
❾ 那位高手讲下怎么在FLASH添加右键菜单(需详细的步骤)
你去下载个迅雷
安装之后设置里面有个
资源探索
把
.SWF
加入里面
把IE
关了再开
就可以了把
鼠标放在
FHASL
上不动
马上就去来
迅雷的图标。。
点击下载就会出来下载的路径了