flash 调用 脚本_Flash脚本-在Flash中打开浏览器

flash 调用 脚本

1. First we need JavaScript. If you’re not familiar with JavaScript, see our Javascript section.

1.首先,我们需要JavaScript。 如果您不熟悉JavaScript,请参阅我们的Javascript部分

<SCRIPT language=JavaScript>
var newwin;  
function launchwin(winurl,winname,winfeatures)  
{  
//This launches a new window  
newwin = window.open(winurl,winname,winfeatures);
}
</SCRIPT>

2. Insert the above code into the tags of your HTML document.

2.将以上代码插入HTML文档的标签中。

3. Now, assign the parameters of this new window to your Flash button. Here’s the code:

3.现在,将此新窗口的参数分配给Flash按钮。 这是代码:

On (Release)
Get URL ("javascript:launchwin('http://www.flashcircle.com'  
, 'newwindow' , 'height=800,width=800')")  
End On

4. That’s all you need to do. Press ctrl+enter to check the movie.

4.这就是您需要做的。 按ctrl + enter检查影片。

翻译自: https://www.sitepoint.com/script-open-browser-flash/

flash 调用 脚本

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值