如何在 Flex 中获取有关用户浏览器的信息? [英] How do I get information about the User's Browser in Flex?

查看:25
本文介绍了如何在 Flex 中获取有关用户浏览器的信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道用户使用什么浏览器来查看我的 Flex 应用程序.如何获取用户代理字符串和其他信息?

I'd like to know what Browser the User is using to view my Flex application. How can I get at the User Agent string and other information?

推荐答案

Javascript 可以帮助您检测浏览器并找出 UserAgent.使用 ExternalInterface 使 Javascript 与您的 flex 应用程序对话.这是一个 ExternalInterface 教程.

Javascript can help you with browser detection and figuring out UserAgent. Use ExternalInterface to make the Javascript talk to your flex application. Here's an ExternalInterface tutorial.

这篇关于如何在 Flex 中获取有关用户浏览器的信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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