swf文件作为超链接

时间:2011-01-14 07:39:46

标签: javascript jquery html css

如何使swf文件充当我尝试添加的超链接,似乎无法正常工作

    <a><OBJECT
                                 classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                                 WIDTH="50"
                                 HEIGHT="50"
                                 id="myMovieName">

                               <PARAM NAME="movie" VALUE="/media/players/testsound.swf" />
                               <PARAM NAME="quality" VALUE="high" />
                               <PARAM NAME="bgcolor" VALUE="#FFFFFF" />

                               <EMBED
                                  href="/media/players/testsound.swf"
         src="/media/players/testsound.swf"
         flashvars="soundUrl=sound.mp3"
                                  quality=high
                                  bgcolor=#FFFFFF
                                  NAME="myMovieName"
                                  ALIGN=""
                                  TYPE="application/x-shockwave-flash">
                               </EMBED>
                               </OBJECT></a>

1 个答案:

答案 0 :(得分:0)

<a onclick="location.href='http://google.com/';" style="cursor:pointer;cursor:hand;">