本文介绍了如何链接到Adobe Flash CS6中的网站或网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个包含Flash内容的网页,该页面包含一个命令按钮,一旦点击它就会调用另一个网页并打开它。问题是它在新选项卡中打开,我想打开它替换HTML flash窗口。



这是按钮的代码:



 enterSite.addEventListener(MouseEvent.CLICK,fl_ClickToGoToWebPage_3); 

函数fl_ClickToGoToWebPage_3( event :MouseEvent): void
{
navigateToURL( new URLRequest( http: //www.mywebpage.com/webdesign), _ blank);
}
解决方案

I have created a webpage that has some Flash content, the page includes a command button that once clicked it calls another webpage and opens it. The problem is that it is opening in a new tab and I want to open it replacing the HTML flash window.

This is the code for the button:

enterSite.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_3);

function fl_ClickToGoToWebPage_3(event:MouseEvent):void
{
    navigateToURL(new URLRequest("http://www.mywebpage.com/webdesign"), "_blank");
}
解决方案


这篇关于如何链接到Adobe Flash CS6中的网站或网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 02:32