<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>I've
been in the same situation with IE and dynamically adding swf with SWFobject.
When all is fine in FF in many cases IE just didn't
cooperate.</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>Is
your setup working in FF?</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>(as a
workaround!) try the following scenarios:</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>1)
completely remove the flash from DOM when you hide the div and put it back in
when you show the div again.</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2>question: why do you already load the flash when you don't use it
yet?</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2>or</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>2) how
do you hide the div? I assume you use
document.getElementById('theDivId').style.display = 'none'</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2>instead set the width and height of your div to 1px to 'hide' the
div.</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2>or</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>3)
give flash in IE a little 'push' when after you have shown the div again (I know
this sounds really really dodgy) by resetting the height and width to the same
dimensions they already have.</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>good
luck, it can be a pain to get this working in IE but it can be
done.</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>In my
situation I had it working fine but than ran into serious performance problems
with Externalinterface so I had to skip Externalinterface and use the
previous Integration Kit again.</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>No
surprise that also in that case IE caused me problems when dynamically adding
flash.</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>(see
thread for demo page: <A
href="http://lists.deconcept.com/pipermail/swfobject-deconcept.com/2006-October/001800.html">http://lists.deconcept.com/pipermail/swfobject-deconcept.com/2006-October/001800.html</A> )</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff size=2>good
luck,</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2>David</FONT></SPAN></DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=186331412-13102006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
swfobject-bounces@lists.deconcept.com
[mailto:swfobject-bounces@lists.deconcept.com] <B>On Behalf Of </B>Noah
Winecoff<BR><B>Sent:</B> vrijdag 13 oktober 2006 0:47<BR><B>To:</B>
swfobject@lists.deconcept.com<BR><B>Subject:</B> Re: [SWFObject] IE streaming
audio does not auto play<BR><BR></FONT></DIV>I didn't specifically mention
this in my first post, but If I hit the pause button then play the MP3 will
start playing. Just another thing that might help debug this. Thanks
everyone.<BR><BR>
<DIV><SPAN class=gmail_quote>On 10/12/06, <B class=gmail_sendername>Noah
Winecoff</B> <<A href="mailto:asknoah@gmail.com">asknoah@gmail.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">An
example of what you did would be great thanks. I also tried putting the
flash in an iFrame and dynamically adding the iFrame to the div on the
button click, but the same issue is happening. I thought for sure that would
have fixed it.
<DIV><SPAN class=e id=q_10e3e71e6dfc2247_1><BR><BR>
<DIV><SPAN class=gmail_quote>On 10/12/06, <B class=gmail_sendername>Josh
Trout</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:clearcache@gmail.com" target=_blank>
clearcache@gmail.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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.
<DIV><SPAN><BR><BR>
<DIV><SPAN class=gmail_quote>On 10/12/06, <B class=gmail_sendername>Geoff
Stearns</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:geoff@deconcept.com"
target=_blank>geoff@deconcept.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>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>
<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
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:geoff@deconcept.com" target=_blank>geoff@deconcept.com
</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:SWFObject@lists.deconcept.com"
target=_blank>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>SWFObject
mailing list<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:SWFObject@lists.deconcept.com"
target=_blank>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></BLOCKQUOTE></DIV><BR>
<DIV
style="MARGIN: 0px">_______________________________________________</DIV>
<DIV style="MARGIN: 0px">SWFObject mailing list</DIV>
<DIV style="MARGIN: 0px"><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:SWFObject@lists.deconcept.com"
target=_blank>SWFObject@lists.deconcept.com</A></DIV>
<DIV style="MARGIN: 0px"><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></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"
target=_blank>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></SPAN></DIV><SPAN>-- <BR>~Trout<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.amongtrout.com" target=_blank>http://www.amongtrout.com
</A></SPAN><BR>_______________________________________________<BR>SWFObject
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:SWFObject@lists.deconcept.com"
target=_blank>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></SPAN></DIV></BLOCKQUOTE></DIV><BR><BR>
<P><FONT size=2>--<BR>No virus found in this incoming message.<BR>Checked by
AVG Free Edition.<BR>Version: 7.1.408 / Virus Database: 268.13.2/472 - Release
Date: 11-10-2006<BR></FONT></P>
<P><FONT face=Arial size=2></FONT></P></BLOCKQUOTE></BODY></HTML>
<BR>
<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Free Edition.<BR>
Version: 7.1.408 / Virus Database: 268.13.3/473 - Release Date: 12-10-2006<BR>
</FONT> </P>