AIR 应用程序和 HTML 传递参数
我有一个从网页下载的 AIR 应用程序。 为了下载该应用程序,必须登录。 我希望用户第一次打开应用程序时能够访问已登录的 userId。
有什么方法可以传递该信息吗?
谢谢, 拉杜
I have an AIR application that is downloaded from a webpage.
In order to download the application, one must be logged in.
I would like the first time the user opens the application, to be able to acces the userId that was logged in.
Is there any way do pass that information?
Thanks,
Radu
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
可以修改 AIR 安装标记,然后通过浏览器调用事件传入参数。
http: //archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/
It is possible to modify the AIR install badge and then pass in parameters through the browser invocation event.
http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/
要将参数传递给 Air 动画,请在 html 对象中使用“flashvar”参数。
然后在您的 Air 应用程序中,您可以使用以下方法获取这些参数值:
To pass parameters to your Air animation use a 'flashvar' param in your html object.
then in your Air application you can get these params values using :