Replace Flash with Image if ipad, iphone, etc. browser

How can I replace a swf file with an image file if the user is using an iphone or "non-flash" browser? I have the swf displaying in an iframe.

<iframe seamless="seamless" src="Images\TIHeader.swf" name= "iframe1" width ="100%" height="200" align="left" scrolling="no" frameborder="0" class="roundmid" id="frame1" onload="resize_iframe()" overflow="yes"></iframe>
Who is Participating?
GaryConnect With a Mentor Commented:
Instead of calling the swf directly, place that flash in an object code block (like the example above) and in it's own page and change the iframe src to this new page.
What is the code for the iFrame i.e. the flash.
If you are using the object tag you can include a fallback

<object type="application/x-shockwave-flash">
  <img src="images/fallback.jpg" />
TurfimageAuthor Commented:
I dont have any object tags... Im calling the flash using the iframe so it will resize with the browser... does the iframe have a fallback object?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.