flash函数定义重复
index_no1.addEventListener(MouseEvent.CLICK,getLink);functiongetLink(event:MouseEvent...
index_no1.addEventListener(MouseEvent.CLICK,getLink);
function getLink(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.hao123.com"),"_blank");
}
index_no2.addEventListener(MouseEvent.CLICK,getLink);
function getLink(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.baidu.com"),"_blank");
}
提示第9行含义定义重复,怎么解决啊
就是getLink错误,有解决办法没有啊 展开
function getLink(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.hao123.com"),"_blank");
}
index_no2.addEventListener(MouseEvent.CLICK,getLink);
function getLink(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.baidu.com"),"_blank");
}
提示第9行含义定义重复,怎么解决啊
就是getLink错误,有解决办法没有啊 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询