如何在浏览器中暂停Flash应用程序? [英] How to pause flash application in browser?

查看:190
本文介绍了如何在浏览器中暂停Flash应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在浏览器中暂停Flash应用程序,如果没有任何按钮允许它?

解决方案

$ b $有一个网站,有一个SWF文件,我想暂停它。




你有没有访问这些文件及其来源?它是在同一个域名?

无论如何,前两个答案建议包装与另一个Flash应用程序的瑞士法郎,然后设置帧率为0.这是不准确的,因为你可以设置的最小帧率是0.01。 Flash代码是围绕帧率建立的,这是有道理的。
http:// help .adobe.com / en_US / FlashPlatform / reference / actionscript / 3 / flash / display / Stage.html#frameRate


如果您有权访问原始要暂停的文件,正确的方法是通过ExternalInterface

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/ExternalInterface.html



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://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/ExternalInterface.html

http://www.viget.com/inspire/bi-directional-actionscript-javascript-communication/

这篇关于如何在浏览器中暂停Flash应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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