62,254
社区成员
发帖
与我相关
我的任务
分享
<EMBED src="playFile\201209132241085625.swf" width="800" height="1000" play="true" loop="false" menu="true" quality="high" type="application/x-shockwave-flash" name="myFlash" swLiveConnect="true" ></EMBED>
<div id="div_video">
<EMBED src="playFile\201209132241085625.swf" width="800" height="1000" play="true" loop="false" menu="true" quality="high" type="application/x-shockwave-flash" name="myFlash" swLiveConnect="true" ></EMBED>
</div>var src = "playFile\201209132241085625.swf"; //得到地址
var html = '<EMBED src="' + src + '" width="800" height="1000" play="true" loop="false" menu="true" quality="high" type="application/x-shockwave-flash" name="myFlash" swLiveConnect="true" ></EMBED>';
$("#div_video").html(html);//动态改变
<body>
<script>
var swf = "swf/1wosowoso_flash_18.swf"
var isIE = window.navigator.userAgent.indexOf("MSIE")>-1;
function changeSwf(){
if(isIE)
{
document.myFlash.src=swf;
document.myFlash.Movie=swf;
}
else
{
document.embeds["myFlash"].src=swf;
}
}
window.onload=changeSwf;
</script>
<EMBED name="myFlash" src="1t2t_wos1_01.swf" width="400" height="200" play="true" loop="false" menu="true" quality="high" type="application/x-shockwave-flash" swLiveConnect="true" ></EMBED><body>
<script>
var swf = ["http://flash.1t2t.com/1wosowoso_flash_18.swf","http://flash.1t2t.com/w_o_10.swf","http://flash.1t2t.com/w_o_28.swf"]
var isIE = window.navigator.userAgent.indexOf("MSIE")>-1;
var i = 1;
function changeSwf(){
if(i>=swf.length) i=0;
if(isIE)
{
document.getElementById("player").src=swf[i];
document.getElementById("player").Movie=swf[i];
}
else
{
document.embeds["myFlash"].src=swf[i];
}
i++;
}
window.onload=changeSwf;
</script>
<EMBED id="player" src="http://flash.1t2t.com/1t2t_wos1_01.swf" width="400" height="200" play="true" loop="false" menu="true" quality="high" type="application/x-shockwave-flash" name="myFlash" swLiveConnect="true" ></EMBED>
<body>
<script>
var swf = "http://flash.1t2t.com/1wosowoso_flash_18.swf"
var isIE = window.navigator.userAgent.indexOf("MSIE")>-1;
function changeSwf(){
if(isIE)
{
alert(document.myFlash)
document.myFlash.src=swf;
document.myFlash.Movie=swf;
}
else
{
document.embeds["myFlash"].src=swf;
}
}
window.onload=changeSwf;
</script>
<EMBED name="myFlash" src="http://flash.1t2t.com/1t2t_wos1_01.swf" width="400" height="200" play="true" loop="false" menu="true" quality="high" type="application/x-shockwave-flash" swLiveConnect="true" ></EMBED><body>
<script>
var swf =
["http://flash.1t2t.com/1wosowoso_flash_18.swf","http://flash.1t2t.com/w_o_10.swf","http://flash.1t2t.com/w_o_28.swf
"]
var isIE = window.navigator.userAgent.indexOf("MSIE")>-1;
var i = 1;
function changeSwf(){
if(i>=swf.length) i=0;
if(isIE)
{
document.getElementById("player").src=swf[i];
document.getElementById("player").Movie=swf[i];
}
else
{
document.embeds["myFlash"].src=swf[i];
}
i++;
}
window.onload=changeSwf;
</script>
<EMBED id="player" src="http://flash.1t2t.com/1t2t_wos1_01.swf" width="400" height="200" play="true" loop="false"
menu="true" quality="high" type="application/x-shockwave-flash" name="myFlash" swLiveConnect="true" ></EMBED><body>
<script>
var swf =
["http://flash.1t2t.com/1wosowoso_flash_18.swf","http://flash.1t2t.com/w_o_10.swf","http://flash.1t2t.com/w_o_28.swf
"]
var isIE = window.navigator.userAgent.indexOf("MSIE")>-1;
var i = 1;
function changeSwf(){
if(i>=swf.length) i=0;
if(isIE)
{
document.getElementById("player").src=swf[i];
document.getElementById("player").Movie=swf[i];
}
else
{
document.embeds["myFlash"].src=swf[i];
}
i++;
}
</script>
<input type=button value="change" onclick="changeSwf()"/><br/>
<EMBED id="player" src="http://flash.1t2t.com/1t2t_wos1_01.swf" width="400" height="200" play="true" loop="false"
menu="true" quality="high" type="application/x-shockwave-flash" name="myFlash" swLiveConnect="true" ></EMBED>
<script language="javascript" type="text/javascript">
var src="playFile\201209132241085625.swf";
var html = '<EMBED src="' + src + '" width="800" height="1000" play="true" loop="false" menu="true" quality="high" type="application/x-shockwave-flash" name="myFlash" swLiveConnect="true" ></EMBED>';
$("#div_video").html(html);
alert(html);
</script>
<body>
........
<td>
<div id="div_video">
<EMBED src="playFile\a.swf" width="800" height="1000" play="true" loop="false" menu="true" quality="high" type="application/x-shockwave-flash" name="myFlash" swLiveConnect="true" ></EMBED>
</div>
</td>
...........
</body>