javascript控制swfObject应用介绍
更新时间:2012年11月29日 14:07:21 作者:
本文将详细介绍js控制swfObject的实现方法,需要了解的朋友可以参考下
复制代码 代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script type="text/javascript" src="swfobject-2.1.js" ></script>
<script type="text/javascript">
function playNotifySnd() {
swfobject.embedSWF("8.swf", "notifySnd", "1", "1", "9.0.0");
}
</script>
</head>
<body>
<input type="button" value="aaa" onclick="playNotifySnd(1)" />
</body>
</html>
相关文章
js嵌套的数组扁平化:将多维数组变成一维数组以及push()与concat()区别的讲解
今天小编就为大家分享一篇关于js嵌套的数组扁平化:将多维数组变成一维数组以及push()与concat()区别的讲解,小编觉得内容挺不错的,现在分享给大家,具有很好的参考价值,需要的朋友一起跟随小编来看看吧2019-01-01


最新评论