I had a similar problem a few weeks ago on a project involving a flash piece in an ajax populated div and audio queued by ExternalInterface calls. For a while I thought it was an SWFObject bug (why I joined this list), but I tracked it down to IE's handling of putting an object in via innerHTML. For some reason, IE would embed the object tag correctly, but threw errors on the param tags as if the object tag wasn't there. Really odd bug and it was definitely an IE thing, not a SWFObject thing. I'll try to post some examples tomorrow.
<br><br>My workaround was to put the flash piece outside the dynamic div. Not an option for most projects, but fortunately I had that freedom on that one.<br><br><div><span class="gmail_quote">On 10/12/06, <b class="gmail_sendername">
Geoff Stearns</b> <<a href="mailto:geoff@deconcept.com">geoff@deconcept.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">hmm, well i'm stumped i think... i can't think of any reason why that would happen, other than maybe some issue with IE and using javascript to embed the swf...<div><br></div><div>if anyone else can think of some tests to run, or maybe a workaround that would be cool :)
</div><div><span class="e" id="q_10e3e516a21d0049_1"><div><br></div><div><br></div><div><br><div><div>On Oct 12, 2006, at 4:46 PM, Noah Winecoff wrote:</div><br><blockquote type="cite">Yeah this works when NOT using SWFObject. I have tried putting a
sobjectname.start(); in the actionscript on the sound.onLoad event and at the very bottom of all the code so it would be ran after everything initilized thinking it wasn't firing the auto-play because of the mp3 being cached. I've noticed my current working version with pure embed/object isn't caching the MP3, like it was when I used SWFObject.
<br><br><div><span class="gmail_quote">On 10/12/06, <b class="gmail_sendername">Geoff Stearns</b> <<a href="mailto:geoff@deconcept.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">geoff@deconcept.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> sounds interesting...<br><br>so have you tested without swfobject and it works?
<br><br>have you tried forcing the clip to start once enough has downloaded?<br>you mention that you are relying on the auto-start to start the clip, <br>but maybe if the audio is cached the auto start isn't being triggered?
<br><br><br><br>On Oct 12, 2006, at 4:25 PM, Noah Winecoff wrote:<br><br>> I am using SWJObject 1.4.4 with IE 6. I am displaying a flash movie<br> > in a hidden DIV. When I show the DIV by clicking a button I also<br>
> write the flash movie to the DIV with SWFObject. The flash movie<br>> then loads a mp3 file VIA loadSound(), which should auto play once<br> > sufficient data has been downloaded. This works in Internet<br>> Explorer the first time the player is accessed, but if I hide the
<br>> DIV and show it again the sound will not auto play. I've also<br>> noticed that it will only fail the second try IF the mp3 was <br>> completely downloaded the first time.<br>><br>> Any help would be greatly appreciated. Currently I have had to
<br>> scrap SWFObject for a pure object/embed tag solution. I would much<br>> rather use SWFObject to embed this movie. <br>><br>> Thanks in advance.<br>> _______________________________________________<br>
> SWFObject mailing list<br>> <a href="mailto:SWFObject@lists.deconcept.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">SWFObject@lists.deconcept.com</a><br>> <a href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</a><br><br>_______________________________________________<br>SWFObject mailing list<br><a href="mailto:SWFObject@lists.deconcept.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
SWFObject@lists.deconcept.com </a><br><a href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
</a><br></blockquote></div><br><div style="margin: 0px;">_______________________________________________</div><div style="margin: 0px;">SWFObject mailing list</div><div style="margin: 0px;"><a href="mailto:SWFObject@lists.deconcept.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
SWFObject@lists.deconcept.com</a></div><div style="margin: 0px;"><a href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
</a></div> </blockquote></div><br></div></span></div></div>
<br>_______________________________________________<br>SWFObject mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com" target="_blank">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</a><br><br><br>
</blockquote></div><br><br clear="all"><br>-- <br>~Trout<br><a href="http://www.amongtrout.com">http://www.amongtrout.com</a>