How to detect flash

Flash related stuff should be posted here

How to detect flash

Postby helpdesk » Thu 22 Feb, 2007 2:11 pm

I came across this fantastic script that embeds your Flash content in a standards-compliant fashion and also includes player plug-in detection. This way you can make sure your visitors have at least Flash Player 7 when deploying Flash scripts. It also includes the ability to supply alternate content should your user not have the requisite plug-in.

It is as easy to use as this:
Code: Select all
<script type="text/javascript" src="swfobject.js"></script>
      
<div id="flashcontent">
  This text is replaced by the Flash movie.
</div>

<script type="text/javascript">
   var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#336699");
   so.write("flashcontent");
</script>

More information can be found here.
helpdesk
Site Admin
 
Posts: 277
Joined: Thu 03 Mar, 2005 12:47 pm
Location: Sammamish, WA, USA

Return to Flash Related Topics

Who is online

Users browsing this forum: No registered users and 1 guest

cron