Trouble playing a flash movie using javascript in Internet Explorer 8
I´m having a problem trying to play a flashMovie(swf file)...
Here is my code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="nyauto_pageflip4.swf" />
<param name="quality" value="high" />
<param name="play" value="true"/>
<param name="wmode" value="transparent" />
<embed
swLiveConnect="true"
src="file.swf"
quality="high"
name="flash_flip"
id="flash_flip"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
/>
Then, I have a javascript function with the play line:
$('flash_flip').Play();
I have jQuery, but I already tryed with document.GetElementById =)
So, when this line executes, the flash movie plays. This works in FF and Chrome, but not in ie8...
Is there any way to fix that?
Thanks开发者_开发技巧!
精彩评论