如何在浏览器中暂停Flash应用程序? [英] How to pause flash application in browser?
问题描述
$ b $有一个网站,有一个SWF文件,我想暂停它。
你有没有访问这些文件及其来源?它是在同一个域名?
无论如何,前两个答案建议包装与另一个Flash应用程序的瑞士法郎,然后设置帧率为0.这是不准确的,因为你可以设置的最小帧率是0.01。 Flash代码是围绕帧率建立的,这是有道理的。
http:// help .adobe.com / en_US / FlashPlatform / reference / actionscript / 3 / flash / display / Stage.html#frameRate
如果您有权访问原始要暂停的文件,正确的方法是通过ExternalInterface
http://www.viget.com/inspire/bi-directional-actionscript-javascript-communication/
How to pause flash application in browser if there isn't any buttons that would allow it ?
Well, there is a website, there is a swf file, i want to pause it.
Do you have access to these files and their source? Is it on the same domain?
Anyway, the previous two answers suggested wrapping the swf with another Flash application and then setting the framerate to 0. That's not accurate, because the minimum framerate you can set is 0.01. Flash code is built around the framerate, it makes sense. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Stage.html#frameRate
If you have access to the original files you want to pause, the proper way to accomplish this would be through ExternalInterface
http://www.viget.com/inspire/bi-directional-actionscript-javascript-communication/
这篇关于如何在浏览器中暂停Flash应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!