Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 使用ng include时,使用flash游戏图形的尾部,不使用_Javascript_Node.js_Angularjs_Flash_Express - Fatal编程技术网

Javascript 使用ng include时,使用flash游戏图形的尾部,不使用

Javascript 使用ng include时,使用flash游戏图形的尾部,不使用,javascript,node.js,angularjs,flash,express,Javascript,Node.js,Angularjs,Flash,Express,我刚刚在我的网站(angular/node/express)上嵌入了一个flash游戏,如下所示: <div class="container hero-unit"> <flash width="400" height="300" src="files/avoider.swf"></flash> </div> <div ng-include="'partials/navbar'"></div> <div cla

我刚刚在我的网站(angular/node/express)上嵌入了一个flash游戏,如下所示:

<div class="container hero-unit">
  <flash width="400" height="300" src="files/avoider.swf"></flash>
</div>
<div ng-include="'partials/navbar'"></div>

<div class="container hero-unit">
  <flash width="400" height="300" src="files/avoider.swf"></flash>
</div>
然而,当我这样做的时候,flash游戏中的图形并没有正常移动,而是有一个不断重复的图像尾部。也就是说,当图像移动时,图像的副本会留在最后一个位置,所以看起来像一条真正的长尾。我知道ng include导致了这个问题,但我不知道为什么…非常感谢您的帮助-谢谢

更新


尾部仅在chrome中出现,在firefox中正常工作。

这一行导致了问题:

'<param name="wmode" value="transparent" />'
“”
这是在
angularjs媒体
指令文件中创建的
标记的html-chrome不喜欢它。它使闪光灯窗口透明