Detect browser

can someone please tell me how i can detect what the browser is in flash??? if its netscape i want to set a variable if its IE want to pass set another variable

you need to use javascript to detect the browser and then pass a parameter into the flash movie based upon what the javascript detects the browser to be. There are posts on here about passing variables into flash from javascript and you can get the browser detection code from loads of places on the web just type in browser detection and javascript into google.

http://www.macromedia.com/support/flash/ts/documents/java_script_comm.htm#jtfc

Or follow this url