Javascript 使用ng include时,使用flash游戏图形的尾部,不使用
我刚刚在我的网站(angular/node/express)上嵌入了一个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
<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不喜欢它。它使闪光灯窗口透明