SWF结束时关闭gtk应用程序(NPAPI) [英] Closing gtk application when SWF ends (NPAPI)

查看:149
本文介绍了SWF结束时关闭gtk应用程序(NPAPI)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法知道我的闪存何时以NPAPI结尾(如一个标志)。我想在我的Flash完成显示的时候关闭我的应用程序。



谢谢。

解决方案

一个NPAPI插件在托管它的浏览器关闭时结束,而不是相反。唯一可以做到这一点的方法是让你的SWF通知javascript,然后做一些类似于window.close()的操作。


Is there a way to know when my flash ends in NPAPI (like a flag). I want to close my application when my flash is done displaying.

Thank you.

解决方案

An NPAPI plugin ends when the browser hosting it closes, not the other way around. The only way you might be able to do this is to have your SWF notify javascript which then does something akin to window.close()

这篇关于SWF结束时关闭gtk应用程序(NPAPI)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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