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检查影片。
flash 调用 脚本