在DOM树中移动Flash对象 [英] Moving a Flash object within the DOM tree

查看:246
本文介绍了在DOM树中移动Flash对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了这个问题。 我可以移动Flash对象DOM没有重新加载?



我正在开发一个简单的视频聊天应用程序。每当我在dom树中移动一个flash对象时,都会重置自己。我知道有没有解决方案,这是一个浏览器的具体行为。不过,我想问问是否有任何解决方法来做到这一点。我的要求很简单。我有多个水平对齐的流。每个流是一个不同的Flash对象。当有人放大一个Flash对象时,我需要将其移动到顶部。每当我将它移动到顶部,那个特定的视频就会自动重置,而您等待几秒钟才能恢复流。有没有任何解决方法或任何方式来避免这种情况。

我目前只是将同一列表项添加到同一个父项目中。这是一个非常重要的功能,任何一种解决方案都不需要闪存来重置自己是可以接受的。 (除了创建一个包含所有流的父容器)。

谢谢

解决方案

我不确定,但我认为一个具有绝对位置的div和改变x / y坐标的div对我来说是工作的(尽管我没有做过任何广泛的测试)。可以试试看。


I have found this question; Can I move a Flash object within the DOM without it reloading?

I m developing a simple video chat application. Whenever I move a flash object within the dom tree, it resets itself. I know there is no solution for it which is a browser specific behaviour. However, I would like to ask whether there is any workaround to do this. My requirements are simple. I have multiple streams which are aligned horizontally. Every stream is a different flash object. When someone enlarges a single Flash object, I need to move it to the top. Whenever I move it to the top, that particular video resets itself, and you wait for a couple of second to get the stream back. Is there any workaround or any way to avoid this.

I am currently simply prepending the same list item to the same parent. This is a very important feature and any kind of solution which doesn't require flash to reset itself is acceptable. (Except creating a parent flash container which has all the streams within it.)

Thanks,

解决方案

I'm not sure, but I think that a div with absolute position, and changing x/y coordinates worked for me (I haven't done any extensive testing though). Could give it a try.

这篇关于在DOM树中移动Flash对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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