<object width="438" height="280" id="pano" >
<param value="url_flash" name="movie" />
<param value="false" name="menu"/>
<param value="high" name="quality"/>
<param value="#FFFFFF" name="bgcolor"/>
<embed width="438" height="280" pluginpage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="pano" bgcolor="#FFFFFF" quality="high" menu="false" src="url_flash"/>
</object>
I have this flash code, what I want is that when I click some buttons to change with jquery <embed src=''>
(for firefox) and the first <param>
(for IE)
How I can do that?
This works for embed but how I can do for param in IE ?
$('.link a').click(function() {
var urlconst = 'changed_url';
$(".flash_photo embed").attr({
src: changed_url
});
I tried
$('#pano param:first').val(changed_url)
But that doesn't work.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…