1
votes

How do we identify the user's web browser in flex ? Based on the browser I have to display some text in my flex application.

Any help would be appreciated.

Thanks

3

3 Answers

0
votes

Yes, Javascript code gives you access to Navigator object, which inturn can give you the browser details.

Here's an example I obtained on Googling

http://www.tharas.in/2009/12/getting-client-browser-environment-in-flex/

0
votes

From ActionScript,

var result:String = ExternalInterface.call("eval", "navigator.userAgent");

which gets the value for the browser name, stores it in result.