# Flash Detection Script Redirecting page

**URL:** <https://forum.kirupa.com/t/flash-detection-script-redirecting-page/175883>\
**Category:** flash\
**Created:** [January 18, 2006, 3:35pm UTC](https://forum.kirupa.com/t/flash-detection-script-redirecting-page/175883 "2006-01-18T15:35:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![opel](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/opel/32/199_2.png) [@opel](https://forum.kirupa.com/u/opel)\
**Post date:** [January 18, 2006, 3:35pm UTC](https://forum.kirupa.com/t/flash-detection-script-redirecting-page/175883/1 "2006-01-18T15:35:31Z")

</div>

I have installed the Macromedia Flash Detection Script and it all works fine. I just want to alter the code so that if a user does not have the flash player it will redirect them to another page with instructions about flash and how to download the player.

I assume it will be in this part of the code just dont know what code to use.

```auto
  var alternateContent = 'Alternate HTML content should be placed here.'
  	+ 'This content requires the Macromedia Flash Player.'
   	+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';

```
