# Detect browser

**URL:** <https://forum.kirupa.com/t/detect-browser/21416>\
**Category:** Uncategorized\
**Created:** [May 21, 2003, 12:56pm UTC](https://forum.kirupa.com/t/detect-browser/21416 "2003-05-21T12:56:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jazzman121](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jazzman121/32/127_2.png) [@jazzman121](https://forum.kirupa.com/u/jazzman121)\
**Post date:** [May 21, 2003, 12:56pm UTC](https://forum.kirupa.com/t/detect-browser/21416/1 "2003-05-21T12:56:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 21, 2003, 1:23pm UTC](https://forum.kirupa.com/t/detect-browser/21416/2 "2003-05-21T13:23:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 21, 2003, 1:38pm UTC](https://forum.kirupa.com/t/detect-browser/21416/3 "2003-05-21T13:38:07Z")

</div>

[http://www.macromedia.com/support/flash/ts/documents/java\_script\_comm.htm#jtfc](http://www.macromedia.com/support/flash/ts/documents/java_script_comm.htm#jtfc)

Or follow this url
