Unfortunately, because it's a CMS, they can not be defined in the head. I am not sure what work has been done to the cleanup functions, but it looks like the same exact issue that was reported back in 2006 at the archive link I posted.
I will work on starting to strip down the HTML to see if there is anything there that is causing the issue. I welcome other feedback though, as if I can't find anything else I will have no other choice but to comment out the cleanup function. Jeff On Jun 12, 8:38 pm, Aran Rhee <[email protected]> wrote: > Hi Jeff. > > Yes, there was a lot of work done to fixissues around streaming audio / FMS > not releasing memory and streams so I would not recommend removing any > functions / lines related to that. > > As you say, it happens only in IE. > > Perhaps other SWFObject contributors who worked on the cleanup function can > shed some light on a more elegant work around, but one thought is to call a > function before you invoke your link which hides the divs containing flash > items. This behaviour does not happen on all sites either, so I am wondering > if there is something specific in your HTML which is causing the shift in > layout... > > BTW - I noticed your SWFObject script blocks are appearing with the body > tag. These should be defined in the head. Unlike SWFObject 1.x which ran > inline, SWFObject 2.x runs all embed functions etc on ondomready() > > Cheers, > Aran > > On Sat, Jun 13, 2009 at 4:22 AM, Jeff L <[email protected]> wrote: > > > Hi folks, > > > I'm getting some strange behavior in IE. I get this behavior even with > > the new 2.2 version of swfobject. > > > If you check out this page, scroll to the bottom, there is a little > > flash piece on the bottom right: > >http://production.danversbank.pixelmedia.net/ > > > If you click a link on the page, the flash seems to duplicate itself > > for a second before the new page loads. > > > I've done some research and found this link: > > >http://lists.deconcept.com/pipermail/swfobject-deconcept.com/2006-Aug... > > > The problem seems to be similar, although the code has been rewritten. > > I've tracked it down to this function: removeObjectInIE() > > (line 494 in v2.2) > > > In version 2.1, it looked to be just this one line causing the issue: > > obj.parentNode.removeChild(obj); > > > In version 2.2, it also seems to be caused by this loop: > > if (typeof obj[i] == "function") { > > obj[i] = null; > > } > > > If I comment the call to that function, the problem goes away. However > > I see a comment in the code: > > "Release memory to avoid memory leaks caused by closures, fix hanging > > audio/video threads and force open sockets/NetConnections to > > disconnect (Internet Explorer only)" > > > So I'm wary to comment that line out. > > > Any help is appreciated! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
