开发者

DOM manipulation causes SWF reload

I am using开发者_JAVA百科 jQuery to insert an SWF into the DOM. When the SWF is loaded, and I try to clone it or wrap it, the SWF reloads.

It is important to me that this does not happen.

Below, an example:

$('#test9').before('<p></p>');
$('#test9').clone(true,true).appendTo($('p'));

where #test9 is a swf object. Could you help me to avoid this behavior ?

Thanks


.swf is a file format that is somewhat comparable with a program. You cannot just launch it at a certain state, it will initialize at the beginning of the program. So if you clone it, it will automatically relaunch. No es possible, is it really necessary for you to clone the swf? What do you want to accomplish?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜