我想知道用户使用的是什么浏览器来查看我的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.