# Flash Detection in an Iframe

**URL:** <https://forum.kirupa.com/t/flash-detection-in-an-iframe/327191>\
**Category:** flash\
**Created:** [February 12, 2012, 5:08am UTC](https://forum.kirupa.com/t/flash-detection-in-an-iframe/327191 "2012-02-12T05:08:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![norwood451](https://avatars.discourse-cdn.com/v4/letter/n/e9bcb4/32.png) [@norwood451](https://forum.kirupa.com/u/norwood451)\
**Post date:** [February 12, 2012, 5:08am UTC](https://forum.kirupa.com/t/flash-detection-in-an-iframe/327191/1 "2012-02-12T05:08:00Z")

</div>

I have been using the wonderful code/script written to detect if users have flash and if the do not it load a .jpg on my home page at [http://dnorwood.com](http://dnorwood.com/) – it has been working great and still works. I use the toggle flash plugin to test.

[http://www.kirupa.com/developer/mx/detection.htm](http://www.kirupa.com/developer/mx/detection.htm)

I want to integrate a wix flash site in an iframe, but would like to use a similar script that was written to detect and go to another page. Can I use the same /similar code? If so, how should I rewrite it to work with an iframe?

[script for detecting the flash plug-in and displaying swf or image] (see link above)

I tried to write the script the same way and add the iframe below the script, but it did not work. I have a test page at flash in a iframe at [http://norwood.sharepoint.com/Pages/MLS.aspx](http://norwood.sharepoint.com/Pages/MLS.aspx)

\<iframe src=http://www.wix.com/da8367/norwood#!“action=newsearch&searchtype=city&search\_mode=map&primarySearchtype=active” width=“1013” height=“2500”\>\</iframe\>
