Is it possible to identify the end user's browser in Flash Builder? I have detected a printing problem in Chrome and want to send a warning to Chrome users.
I don't believe there is a specific API built into Flash to access that information, but you can pass the information down via FlashVars or by using ExternalInterface
to ask the browser for it.
Using the latter you could simply say:
var userAgent:String = ExternalInterface.call('window.navigator.userAgent.toString');
Letting you detect Chrome like:
if (userAgent.indexOf('Chrome') >= 0) {
// ...
}