调整大小DIV与闪光灯的js,闪光出现在镀铬冻结?出现在、镀铬、闪光灯、闪光

2023-09-08 15:25:35 作者:永不→放弃

我有闪光调整它的div容器通过外部接口来调用JavaScript:

I have flash resizing it's container div by using external interface to call the javascript:

function expandbottomNav() {
        document.getElementById('bottomNav').style.height = '400px';
    }
function shrinkbottomNav() {
        document.getElementById('bottomNav').style.height = '31px';
    }

现在这似乎除了铬很好地工作在每一个浏览器。出于某种原因,后在div收缩回落到大小,Flash播放器看起来像它的冻结。它如果调整的flash播放器再次开始播放窗口中,你可以看到它已经取得了进展,因为它似乎冻结实际上不结冰,因为。这只是发生在Chrome。有没有人有任何想法,为什么这样的事情会发生?

Now this appears to work fine in every browser except chrome. For some reason after the div is shrunk back down to size, the flash player looks like it's frozen. It's actually not frozen because if you resize the window the flash player starts playing again and you can see it had made progress since it appeared frozen. This only happens in chrome. Does anyone have any idea why something like this might happen?

该网站,以便您可以检查出来自己(是的,我知道这是一个破烂摊子在IE浏览器,但我有点忽略了现在):

The site so you can check it out yourself(yes I know it's a broken mess in IE, but I'm kind of ignoring that for now):

删除<

我在亏损,为什么发生这种情况。我尝试过不同的窗口模式,但这并不能帮助。问题是,当它调整大小的股利背下来,因为如果我评论这一行了闪光永远不会出现冻结。但我需要能够调整股利...

I'm at a loss as to why this is happening. I've tried different window modes but that doesn't help. The problem is when it resizes the div back down because if I comment that line out the flash never appears to freeze. But I need to be able to resize the div...

推荐答案

欢迎;)

它不冻结,串动   以正常速度,但仅呈现   当我移动鼠标光标它。没有   您尝试设置对象高度   每次一定量的像素的   DIV调整大小?并做尝试   规模='exactfit'?

it isn't frozen, the string is moving at normal speed but is rendered only when i move mouse cursor over it. did you try setting object height to certain amount of pixels each time the div is resized? and did you try scale='exactfit'?