我有一个疑问:当您在选项卡中打开各种 Flash 页面时,例如在 Firefox 中,所有这些页面共享同一个 Flash 实例,或者每个页面都使用一个 Flash 实例?
再见!
最佳答案
The LocalConnection class lets you communicate between different Flash Player and AIR instances, such as a SWF in an HTML container or in an embedded or stand-alone player. This allows you to build very versatile applications that can share data between Flash Player and AIR instances, such as SWF files running in a web browser or embedded in desktop applications.
(来源:http://livedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_4.html)
我对那段文字的解释是:
[...] Flash Player [...] instances
, such as SWF files running in a web browser
:HTML 中的每个对象标记本质上是一个不同的应用程序。尽管应用程序可以共享资源,但它们绝对不是共享的“实例”。
关于flash - 多个闪存实例还是一个?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2519581/