2014-04-02 39 views
0

我想创建一个简单的视频库,其中许多图像显示在表格中,当我们点击任何图像相关的swf文件在该地点播放.. 这里是我的swf文件 -如何链接swf文件与图像点击事件

<embed src="intro.swf" height="200" width="200"> 

我想这但不与工作

<a href=<embed src="intro.swf" width="200" height="200"> 
<img border="0" src="5.jpg" width="340" height="185"><p>If you cannot see this, your computer doesn't support the format</p> 
</a> 
+0

您的intro.swf文件路径是否良好并且拥有足够的权限? –

回答

0

这是嵌入标签

<embed src="helloworld.swf"> 

你可以从w3schools here看到工作演示。

的原因,你不能开放时间为5:

  1. 您可能会给出错误的文件路径

  2. 您可以给出错误的权限到包含SWF文件的文件夹