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

查看:122
本文介绍了我如何获得有关用户浏览器中的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天全站免登陆