<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">instead of using javascript to change the movies, you could use an iframe that just reloads with the new movie inside it...<DIV><BR class="khtml-block-placeholder"></DIV><DIV>then you can specify new colors or variables or anything else when you reload the iframe.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On May 22, 2006, at 7:37 AM, Turner, Ben (AT - Atlanta) wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV><SPAN class="103103611-22052006"><FONT face="Verdana" size="2">Has anyone had an opportunity to take a look at the issue below? I am still trying to figure out how to get it resolved. If anyone has any suggestions I would greatly appreciate it.</FONT></SPAN></DIV> <DIV><SPAN class="103103611-22052006"><FONT face="Verdana" size="2"></FONT></SPAN> </DIV> <DIV><SPAN class="103103611-22052006"><FONT face="Verdana" size="2">Thanks,</FONT></SPAN></DIV> <DIV align="left"><SPAN class="837353012-05052003"><FONT size="2"><SPAN class="164153614-28042003"><FONT size="2"><SPAN class="701042418-30042003"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Verdana"><SPAN class="837353012-05052003"><FONT size="2"><SPAN class="164153614-28042003"><FONT size="2"><SPAN class="701042418-30042003"><SPAN><FONT color="#000000"><STRONG><FONT size="1">Benjamin Turner</FONT> :: </STRONG><FONT size="1">User Interface Engineer</FONT></FONT></SPAN></SPAN></FONT></SPAN></FONT></SPAN></SPAN></SPAN></FONT></SPAN></FONT></SPAN></DIV> <DIV align="left"><SPAN class="837353012-05052003"><SPAN class="164153614-28042003"><SPAN class="701042418-30042003"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Verdana"><SPAN class="837353012-05052003"><SPAN class="164153614-28042003"><SPAN class="701042418-30042003"><FONT color="#ff8000" size="2"><SPAN style="FONT-SIZE: 7.5pt; COLOR: blue; FONT-FAMILY: Verdana"><A href="http://www.atcsalesforce.com/"></A></SPAN></FONT></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></DIV> <DIV align="left"></DIV> <DIV align="left"><FONT face="Tahoma"><FONT size="2"><SPAN class="103103611-22052006"><FONT face="Verdana"> </FONT></SPAN></FONT></FONT></DIV> <DIV align="left"><FONT face="Tahoma"><FONT size="2"><SPAN class="103103611-22052006"></SPAN></FONT></FONT> </DIV> <DIV align="left"><FONT face="Tahoma"><FONT size="2"><SPAN class="103103611-22052006"> </SPAN>-----Original Message-----<BR><B>From:</B> swfobject-bounces@lists.deconcept.com [<A href="mailto:swfobject-bounces@lists.deconcept.com">mailto:swfobject-bounces@lists.deconcept.com</A>] <B>On Behalf Of </B>Turner, Ben (AT - Atlanta)<BR><B>Sent:</B> Thursday, May 18, 2006 7:33 AM<BR><B>To:</B> <A href="mailto:swfobject@lists.deconcept.com">swfobject@lists.deconcept.com</A><BR><B>Subject:</B> [SWFObject] Movie Background Color<BR><BR></FONT></FONT></DIV><FONT face="Tahoma"><FONT size="2"></FONT></FONT> <BLOCKQUOTE dir="ltr" style="MARGIN-RIGHT: 0px">  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2">Hello,</FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2">I have a pop-up   window that opens up with a 728x90 SWF and 6 links on it. The purpose of the   page is for the user to see 6 different Flash files without having to have a   separate window for each one (parent page contains "thumbnail" versions of the   files). I am using JavaScript to build an array with the values for the   movies. This is my script:</FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2"></FONT></SPAN> </DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Courier" size="2">    var swf= new Array();</FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Courier" size="2">    swf[0] = 'flash/swf_01.swf';<BR>      swf[1] = 'flash/swf_02.swf';<BR>    swf[2] =   'flash/swf_03.swf';<BR>    swf[3] =   'flash/swf_04.swf';<BR>    swf[4] =   'flash/swf_05.swf';<BR>    swf[5] =   'flash/swf_06.swf';</FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Courier">      </FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Courier" size="2">    function changeFlash(x)   {<BR>     document.getElementById('FlashMovie').movie   = swf[x];<BR>     }</FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2"></FONT></SPAN> </DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2">Here is the   SWFObject script I am using:</FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2"></FONT></SPAN> </DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Courier" size="2">    <script type="text/javascript"><BR>   var so = new   SWFObject(swf[0], "FlashMovie", "728", "90",   "7");<BR>   so.write("SWFContainer");<BR>    </script></FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2"></FONT></SPAN> </DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2">Here is one of   the links on the page:</FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Courier" size="2">    <a id="link1" href="#SWF0"   onMouseUp="changeFlash(0)" class="pageLink"></FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Courier" size="2"></FONT></SPAN> </DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2">The DIV that I'm   putting the SWF in doesn't have a background color and is set to be the exact   size of the Flash file. The initial file loads fine, the issue that I'm having   is that the background color from the first SWF is carried over to all   subsequent movies. For example the initial movie has a blue background and   shows fine. If the user clicks the link to view the other SWFs the blue   background color from the first one replaces the background color in all   subsequent movies.</FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2"></FONT></SPAN> </DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2">I have tried   putting a BG color in<FONT face="Courier">: var so = new SWFObject(swf[0],   "FlashMovie", "728", "90", "7", "086AFF");. I've tried using:   so.addParam("wmode", "transparent"); </FONT><FONT face="Verdana">and it   does not seem to alleviate the issue. In total there are 70+ Flash movies   and we are constantly adding new ones. I don't really have the resources to go   back and change each Flash movie at this point (though if a solution isn't   found I will take that route).</FONT></FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2"></FONT></SPAN> </DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2">If any one has   any suggestions on how to dynamically change the BG color or make it where the   color does not carry over I would greatly appreciate it. I guess there is a   way that I could create a second array of colors and pull that in, but I'd   rather not go in and pull the hex for each movie.</FONT></SPAN></DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2"></FONT></SPAN> </DIV>  <DIV><SPAN class="786005318-17052006"><FONT face="Verdana" size="2">Thanks in   advance.</FONT></SPAN></DIV>  <DIV><FONT face="Verdana" size="2"></FONT> </DIV>  <DIV align="left"><SPAN class="837353012-05052003"><FONT size="2"><SPAN class="164153614-28042003"><FONT size="2"><SPAN class="701042418-30042003"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Verdana"><SPAN class="837353012-05052003"><FONT size="2"><SPAN class="164153614-28042003"><FONT size="2"><SPAN class="701042418-30042003"><SPAN><FONT color="#000000"><STRONG><FONT size="1">Benjamin Turner</FONT> :: </STRONG><FONT size="1">User Interface   Engineer</FONT></FONT></SPAN></SPAN></FONT></SPAN></FONT></SPAN></SPAN></SPAN></FONT></SPAN></FONT></SPAN></DIV></BLOCKQUOTE><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></BODY></HTML>