# get\_broswer with flash

**URL:** <https://forum.kirupa.com/t/get-broswer-with-flash/132980>\
**Category:** Uncategorized\
**Created:** [January 4, 2005, 12:34pm UTC](https://forum.kirupa.com/t/get-broswer-with-flash/132980 "2005-01-04T12:34:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skribble](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Post date:** [January 4, 2005, 12:34pm UTC](https://forum.kirupa.com/t/get-broswer-with-flash/132980/1 "2005-01-04T12:34:10Z")

</div>

hey guys. Im currently making my new site and I intend to use scrollpanes to load external swf files into my main site swf. Now the trouble ive had before is that the code I use

onClipEvent (data) {  
paneMC.refreshPane();  
}

seems to only work for netscape/mozilla browsers, and not IE. What I was thinking was making it so that the PHP could detect which browser the user has and then run certain AS depending on which browser.

Like if a user has firefox then the flash movie would be told to run the refreshPane code, otherwise if the user has IE, it will run a getURL script to just simply reload the browser.

Unfortunatly I have no clue about PHP, I know my host can support it so thats no problem, but I would REALY appreciate some help on this.

Thanks in advance =D
