开发者

How to stop playing flash object from javascript

开发者 https://www.devze.com 2023-02-03 21:11 出处:网络
开发者_JAVA百科Is there a way to stop (destroy) a flash swf media file from playing. I want to stop playing a swf with sound in it after popup closed, but it just wont die in IE8 and keeps playing in
开发者_JAVA百科

Is there a way to stop (destroy) a flash swf media file from playing. I want to stop playing a swf with sound in it after popup closed, but it just wont die in IE8 and keeps playing in background.


You can't. There is no access to Flash functionality from DOM, unless it explicitly exported through ExternalInterface.


Try to remove the swf object from the DOM.

0

精彩评论

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