[SWFObject] fp9 bug in IE with multiple swf files +externalinterface (out of memory)

Danya Henninger danya at imagicdigital.com
Tue Jul 25 10:35:08 PDT 2006


Actually --

It doesn't work fully in IE 7 ...

I get the "Out of Memory Error" alert (line 56).  Upon clicking "okay", the
alert disappears and the page reappears looking fine.

-- 
Danya Henninger

Imagic  |  www.imagicdigital.com

On 7/25/06, swfobject-request at lists.deconcept.com <
swfobject-request at lists.deconcept.com> wrote:
>
> Send SWFObject mailing list submissions to
>         swfobject at lists.deconcept.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> or, via email, send a message with subject or body 'help' to
>         swfobject-request at lists.deconcept.com
>
> You can reach the person managing the list at
>         swfobject-owner at lists.deconcept.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SWFObject digest..."
>
>
> Today's Topics:
>
>    1. Re: fp9 bug in IE with multiple swf files +externalinterface
>       (out of memory) (Jonathan Spooner)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 25 Jul 2006 10:20:54 -0700
> From: Jonathan Spooner <jspooner at aviatech.com>
> Subject: Re: [SWFObject] fp9 bug in IE with multiple swf files
>         +externalinterface (out of memory)
> To: <swfobject at lists.deconcept.com>
> Message-ID: <7C08A463-D1B1-4295-BD49-794481390144 at aviatech.com>
> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes;
>         format=flowed
>
> Thanks for the fix.  It works great.
>
> Will this change go into the SVN?
>
> --JS
>
>
> On Jul 25, 2006, at 10:20 AM, Geoff Stearns wrote:
>
> > we have been working on this today... we have a fix.
> >
> > it turns out there is a function called __flash_unloadHandler() -
> > that does almost the exact same thing that my cleanUpSWFs()
> > function does (makes sense because I was e-mailing with a Flash
> > Player engineer about the streaming issue (which this is partially
> > related to) and they ended up putting code similar to my fix into
> > fp9, only it looks like the adobe version doesn't work so hot...
> >
> > anyway, here's how we fixed it:
> >
> > changed the cleanUpSWFs() function to fire using onbeforeunload
> > instead of onunload - and inside the beforeunload, we remove the
> > __flash_unloadHandler() function, so that it won't cause the out of
> > memory error.
> >
> > attached is the version with the fix in it... if you all could test
> > this out and let me know how it looks that would be great.
> >
> > i uploaded it to the test files pablo provided and it looks like it
> > fixes it... so if a few of you could verify that, it would be great.
> >
> > here's the test files with the new js file:
> > http://dev.deconcept.com/etc/outofmemory/
> >
> > in ie6 i get no crash and all seems fine.
> >
> >
> > <swfobject.js>
> >
> > for the adobe people here:?
> >
> > the difference in your code and mine is that mine does a
> > getElementsByTagName('OBJECT'); and then loops through only those,
> > and your code has a variable called 'embedded' that is looped
> > through - not sure where the embedded var comes from, but it looks
> > like maybe it was much more stuff in it that is really needed...
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060725/eb1acbaa/attachment-0005.htm>


More information about the Swfobject mailing list