Chrome Flash播放器在Flash窗口中创建透明矩形 [英] Chrome Flash player creates transparent rectangles in the flash window

查看:254
本文介绍了Chrome Flash播放器在Flash窗口中创建透明矩形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





进入大楼下方的灰色矩形显示背景颜色Flash播放器所在的html div。在我们在哪里链接下有一个较小的。这些是精灵(包含其他精灵和显示对象),有一个脚本的悬停动画(他们慢慢地走向一个随机点,是在一定范围内的起源)。这个小故障会随着它们一起调整,有时会消失。



它让整个flash组件看透了最奇怪的东西。这个代码
在创建录像机时运行:

  graphics.clear(); 
graphics.beginFill(0xff00ff,1);
graphics.drawRect(0,0,_stage.stageWidth,_stage.stageHeight);
graphics.endFill();

所以在视频播放器背面应该有一个鲜艳的颜色,我已经证实它是在那里,如果我不加载视频播放器。然而,这个鲜艳的颜色不显示,而是包含播放器的背景div闪耀。



这对我来说绝对没有意义...我不知道如何调试这个。我所知道的是,毛刺的外观取决于文本链接在屏幕上的位置。



Flash是以透明的WMODE加载的,我们需要因为它有一个可扩展的侧翼,是半透明的。

编辑:

住在www.48hourgames.com。一旦你创建了一个帐户,你将会看到以上面截图结尾的视频播放器。

解决方案

这是胡椒Flash播放器。 Adobe和Google一直在研究这个问题已经有一段时间了,他们打算保持Flash在Linux平台上的运行。



不幸的是,Pepper Flash越野车。在今年夏天的某个时候,Pepper Flash成为所有操作系统的默认Flash插件。它有许多问题,没有真正的解决方案,除了禁用它(希望Adobe /谷歌将解决它们)。



禁用Pepper Flash:




  • 转至:chrome:// plugins

  • 点击右上方的详细信息图标

  • 找到Flash Player插件部分,您可能会在这里安装几个Flash版本。我只是安装了Chrome来验证问题所在,并且使用了Pepper Flash和2个常规Flash版本。
  • 禁用路径中具有PepperFlash的Flash插件。
  • li>

I'm encountering a weird, very difficult to reproduce graphics glitch in a Flash video player!, so far only in Chrome.

The gray rectangle below "Enter the building" is showing the background color of the html div that the flash player is sitting in. There is a smaller one under the "Where are we" link. These are sprites (containing several other sprites and displayobjects) that have a scripted hover animation (they slowly move towards a random point that is withing a certain range of their origin). The glitch resizes together with them, sometimes disappearing.

What's the strangest it makes the entire flash component see through. I have this code running when the videoplayer is created:

        graphics.clear();
        graphics.beginFill(0xff00ff, 1);
        graphics.drawRect(0, 0, _stage.stageWidth, _stage.stageHeight);
        graphics.endFill();

So there should be a bright color in the back of the video player, and I've confirmed that it is there if I don't load the video player. However this bright color is not displayed, but rather the background div that contains the player shines through.

This makes absolutely no sense to me...and I have no idea how to debug this. All I know is that the appearance of the glitch is dependent on where the text-links are hovering on the screen.

The flash is loaded in WMODE transparent, which we need because it has a expandable 'wing' on the side which is semi transparent.

EDIT:

it is live at www.48hourgames.com. Once you make an account you will see the video player that ends with the screenshot above.

解决方案

This is a problem with the Pepper Flash player. Adobe and Google have been working on this for some time, it is how they intend to keep Flash alive and working on the Linux platform.

Pepper Flash, unfortunately, is very buggy. Sometime over the summer of this year, Pepper Flash became the default Flash plugin in Chrome for all operating systems. It has many issues that there are no real solutions to, other than disabling it (and hoping Adobe/Google will address them).

To disable Pepper Flash:

  • go to: chrome://plugins
  • click the Details icon in the upper right
  • find the Flash Player plugin section, you will likely have several versions of Flash installed here. I just installed Chrome to verify it was the problem, and had Pepper Flash plus 2 "normal" versions of Flash.
  • disable the Flash plugin that has "PepperFlash" in the path.

这篇关于Chrome Flash播放器在Flash窗口中创建透明矩形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆