如何在FLASH添加版权

如何在FLASH添加版权,第1张

在第一桢输入下面动作,把里面的内容改成自己的就可以了.测试影片,看看是不是你要的效果.

function tab() {

}

function url1() {

getURL("http://513560675.qzone.qq.com", "_blank")

}

function url2() {

getURL("http://365227503.qzone.qq.com", "_blank")

}

function url3() {

getURL("http://365227503.qzone.qq.com", "_blank")

}

function quit1() {

fscommand("quit", "")

}

var expandmenu = new ContextMenu()

expandmenu.hideBuiltInItems()

var $tab1 = new ContextMenuItem("QQ:365227503", tab, false, false, true)

var $url1 = new ContextMenuItem("g!vёυp﹖", url2)

var $tab2 = new ContextMenuItem("QQ:513560675", tab, true, false, true)

var $url2 = new ContextMenuItem("宝贝潴潴", url1)

var $tab3 = new ContextMenuItem("゛缘起缘灭.", tab, true, false, true)

var $url3 = new ContextMenuItem(" 缘以尽 .! ", url3)

expandmenu.customItems.push($tab1, $url1, $tab2, $url2, $tab3, $url3, $tab4, $url4, $tab5, $url5)

expandmenu.onSelect = menuHandler

_root.menu = expandmenu

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.baidu.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.baidu.com/tbg0531/ihome/ihomefeed"))

}


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/bake/11484466.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-16
下一篇 2023-05-16

发表评论

登录后才能评论

评论列表(0条)

保存