<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">when you call fo.write() it returns true or false depending on whether the use has flash or not. so you can do stuff like this:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>so = new SWFObject(....</DIV><DIV>...</DIV><DIV>if (so.write("content")) {</DIV><DIV> // do stuff</DIV><DIV>} else {</DIV><DIV> // do other stuff</DIV><DIV>}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"><DIV><DIV><DIV>On Jul 20, 2006, at 8:16 PM, Jeremy Nicoll wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> I have a quick question, is there a variable that is set when flash is detected? I would like some JavaScript to run <I>only</I> if flash is actually installed. The JS does not have anything to do with Flash itself, but rather the display of other parts of the page.<BR> <BR> Thanks,<BR> Jeremy<BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">SWFObject mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>