<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">the important part is how you get the reference to the swf...<DIV><BR class="khtml-block-placeholder"></DIV><DIV>swfobject uses the same id whether or not it uses an object or an embed tag to insert the flash content, so it makes it easy.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>this code:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" color="#6E1453" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">if </SPAN></FONT><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">(navigator.appName.indexOf(</SPAN></FONT><FONT class="Apple-style-span" color="#7827F3" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"Microsoft"</SPAN></FONT><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">) != -1) </SPAN></FONT><FONT class="Apple-style-span" color="#6E1453" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">{</SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">flash = window.menubar;</SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" color="#6E1453" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">}</SPAN></FONT></P><P style="margin: 0.0px 0.0px 11.0px 0.0px"><FONT class="Apple-style-span" color="#6E1453" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">else {</SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">flash = window.document.menubar;</SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">can be replaced by:</SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">flash = document.getElementById("menubar");</SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">and the rest of your code should be fine.</SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></P><P style="margin: 0.0px 0.0px 14.0px 0.0px"><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></P><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Oct 11, 2006, at 1:24 PM, Luke DeWitt wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><FONT color="#7f0055" size="2"><SPAN class="Apple-style-span" style="color: rgb(127, 0, 85); font-size: 11px; text-align: -khtml-left; ">if </SPAN></FONT><FONT size="2"><SPAN class="Apple-style-span" style="font-size: 11px; text-align: -khtml-left; ">(navigator.appName.indexOf(</SPAN></FONT><FONT color="#8e00ff" size="2"><SPAN class="Apple-style-span" style="color: rgb(142, 0, 255); font-size: 11px; text-align: -khtml-left; ">"Microsoft"</SPAN></FONT><FONT size="2"><SPAN class="Apple-style-span" style="font-size: 11px; text-align: -khtml-left; ">) != -1) </SPAN></FONT><FONT color="#7f0055" size="2"><SPAN class="Apple-style-span" style="color: rgb(127, 0, 85); font-size: 11px; text-align: -khtml-left; ">{</SPAN></FONT><FONT color="#7f0055" size="2"><SPAN class="Apple-style-span" style="color: rgb(127, 0, 85); font-size: 11px; "></SPAN></FONT><P align="left"><FONT color="#7f0055" size="2"></FONT><FONT size="2"><SPAN class="Apple-style-span" style="font-size: 11px; text-align: -khtml-left; ">flash = window.menubar;</SPAN></FONT></P><FONT size="2"><SPAN class="Apple-style-span" style="font-size: 11px; "></SPAN></FONT><P align="left"><FONT size="2"></FONT><FONT color="#7f0055" size="2"><SPAN class="Apple-style-span" style="color: rgb(127, 0, 85); font-size: 11px; text-align: -khtml-left; ">}</SPAN></FONT></P><FONT color="#7f0055" size="2"><SPAN class="Apple-style-span" style="color: rgb(127, 0, 85); font-size: 11px; "></SPAN><P align="left"><SPAN class="Apple-style-span" style="color: rgb(127, 0, 85); font-size: 11px; text-align: -khtml-left; ">else {</SPAN></P></FONT><P align="left"><FONT color="#7f0055" size="2"></FONT><FONT size="2"><SPAN class="Apple-style-span" style="font-size: 11px; text-align: -khtml-left; ">flash = window.document.menubar;</SPAN></FONT></P></SPAN></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>