9. function asplay_top(c){
if(navigator.userAgent.indexOf("Safari")>0){
try{
var audio = document.createElement("audio");
audio.src = c;
audio.play();
}catch(e){
}
}else{
var asound = getFlashObject_top("asound_top");
if(asound){
asound.SetVariable("f",c);
asound.GotoFrame(1);
}
}
}
function getFlashObject_top(movieName) {
if (window.document[movieName]) {
return window.document[movieName];
}
if (navigator.appName.indexOf("Microsoft Internet")==-1) {
if (document.embeds && document.embeds[movieName])
return document.embeds[movieName];
} else {
return document.getElementById(movieName);
}
}
17. 要我说先把资源url地址为空 点击后再改下url地址 基本思路可以这样
@雨伤,