The way this script operates is by returning a variable "pluginlist", which contains a comma separated list of working plugins of your browser. The full list of plugins it detects are: - Flash - Windows Media Player - Java - Shockwave - RealPlayer - QuickTime - Acrobat Reader - SVG Viewer Save below lines into plugins.js ______________________ var agt=navigator.userAgent.toLowerCase(); var ie = (agt.indexOf("msie") != -1); var ns = (navigator.appName.indexOf("Netscape") != -1); var win = ((agt.indexOf("win")!=-1) || (agt.indexOf("32bit")!=-1)); var mac = (agt.indexOf("mac")!=-1); if (ie && win) { pluginlist = detectIE("Adobe.SVGCtl","SVG Viewer") + detectIE("SWCtl.SWCtl.1","Shockwave Director") + detectIE("ShockwaveFlash.ShockwaveFlash.1","Shockwave Flash") + detectIE("rmocx.RealPlayer G2 Control.1","RealPlayer") + detectIE("QuickTimeCheckObject.QuickTimeCheck.1","QuickTime") + detectIE("MediaPlayer.MediaPlayer.1","Windows Media Player") + detectIE("PDF.PdfCtrl.5","Acrobat Reader"); } if (ns || !win) { nse = ""; for (var i=0;i<navigator.mimeTypes.length;i++) nse += navigator.mimeTypes[i].type.toLowerCase(); pluginlist = detectNS("image/svg-xml","SVG Viewer") + detectNS("application/x-director","Shockwave Director") + detectNS("application/x-shockwave-flash","Shockwave Flash") + detectNS("audio/x-pn-realaudio-plugin","RealPlayer") + detectNS("video/quicktime","QuickTime") + detectNS("application/x-mplayer2","Windows Media Player") + detectNS("application/pdf","Acrobat Reader"); } function detectIE(ClassID,name) { result = false; document.write('<SCRIPT LANGUAGE=VBScript>\n on error resume next \n result = IsObject(CreateObject("' + ClassID + '"))</SCRIPT>\n'); if (result) return name+','; else return ''; } function detectNS(ClassID,name) { n = ""; if (nse.indexOf(ClassID) != -1) if (navigator.mimeTypes[ClassID].enabledPlugin != null) n = name+","; return n; } pluginlist += navigator.javaEnabled() ? "Java," : ""; if (pluginlist.length > 0) pluginlist = pluginlist.substring(0,pluginlist.length-1); _____________________________________________________________ Add below lines into your page in which you want to detect flash plugins <script src="plugins.js"> if (pluginlist.indexOf("Flash")!=-1) document.write("You have flash installed") </script> Regards, Rashid Rupani GlobalinfoTerms.com http://www.globalinfoterms.com/sitemap.html On 5/12/05, Urb LeJeune <urb@xxxxxxxxx> wrote: > Is anyone aware of a way to detect is the user has a Flash Plugin > installed? > > Urb > > > > > PHP Data object relational mapping generator - http://www.meta-language.net/ > > > ________________________________ > Yahoo! Groups Links > > To visit your group on the web, go to: > http://groups.yahoo.com/group/php-objects/ > > To unsubscribe from this group, send an email to: > php-objects-unsubscribe@xxxxxxxxxxxxxxx > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/