[SWFObject] BUG FOUND

Geoff Stearns geoff at deconcept.com
Wed Jul 19 01:01:20 PDT 2006


someone just posted something to my blog and said that changing it  
from onunload to onbeforeunload fixed it. anyone want to try it out  
and let us know how it goes?



On Jul 18, 2006, at 8:37 PM, Pablo Garayzábal wrote:

>
> Thanks for the "match case" point in the reference link.
>
> I did an extended replace from FLASHObject to SWFObject and caught the
> reference too (the site has more than 250 pages!!). You know, a  
> minute after
> doing the change I found out that the change was not necessary...!
>
> I'll change it in all the pages, but it seems not to be the solution.
>
> About the crash, it behaves different depending on the machines.  
> Some of my
> client's computers only show the "out of memory" alert, others the  
> "stack
> overflow" thing, and others get totally freeze.
> It seems that there is not a regular pattern for that.
> (All machines run Windows XP Pro, ie6, Flash Player 9.)
>
> Thanks again for your help Jimbo,
> Pablo.
>
> ________________________________________
> De: swfobject-bounces at lists.deconcept.com
> [mailto:swfobject-bounces at lists.deconcept.com] En nombre de Jim Berkey
> Enviado el: martes, 18 de julio de 2006 20:10
> Para: swfobject at lists.deconcept.com
> Asunto: Re: [SWFObject] BUG FOUND
>
> Okay, I couldn't duplicate it locally at all, BUT, I uploaded your  
> files
> here and find the same as you:
> http://jimbo.us/swfobjectTest/
>
> I did find that on index.html your javascript link is to  
> SWFObject.js - but
> the file is actually all lowercase, so I changed it in index.html.
> Note: The version of swfobject.js is the one you have with the  
> commented out
> section. I tried with a fresh version, and got the same time-out in  
> IE when
> refreshing. I didn't crash, but did get the time-out message,  
> referencing
> line 56.
> jimbo
> *********** REPLY SEPARATOR ***********
>
> On 7/18/2006 at 6:59 PM Pablo Garayzabal wrote:
> Hi Jim,
>
> If the message is null, then the player security policies are  
> blocking the
> jsflash communication, and so the page doesnt crash.
>
> Are the test source files located in your desktop? Try to move them to
> another location (c: for example). It sounds weird, but flash  
> player doesnt
> like C:\Documents and Settings\User\Desktop\  (dont ask me why,  
> but Ive
> experienced very estrange situations with files residing in Windows
> desktop.).
>
> If I test the source files residing in the desktop, I get the same  
> result
> (null, no crash).
>
> Anyway, have you tried http://www.dinamik.es/test/  ? (the same files
> located in a server)
>
> Thank you for your time!
> Pablo.
>
> ________________________________________
> De: swfobject-bounces at lists.deconcept.com
> [mailto:swfobject-bounces at lists.deconcept.com] En nombre de Jim Berkey
> Enviado el: martes, 18 de julio de 2006 18:01
> Para: swfobject at lists.deconcept.com
> Asunto: Re: [SWFObject] BUG FOUND
>
> Just tried again with the window.onload method added back in and still
> couldn't make IE crash??
>
> *********** REPLY SEPARATOR ***********
>
> On 7/18/2006 at 5:24 PM Pablo Garayzabal wrote:
> Hi Geoff,
>
> This is a real website problem I am dealing with. The example shown in
> dinamik.es is just a dummy simplification trying to debug it. (I  
> didnt find
> it just testing, I wish I had time for that these days!!)
>
> The window.onunload method is commented since my first post.
>
> Heres the source code if you want to test:
>  http://www.dinamik.es/test/source.zip
>
> Thank you for your answer, and enjoy your holidays!!
> Pablo.
>
>
> ________________________________________
> De: swfobject-bounces at lists.deconcept.com
> [mailto:swfobject-bounces at lists.deconcept.com] En nombre de Geoff  
> Stearns
> Enviado el: martes, 18 de julio de 2006 14:07
> Para: swfobject at lists.deconcept.com
> Asunto: Re: [SWFObject] BUG FOUND
>
> thanks for the extra testing... i haven't had time to verify this  
> yet (i'm
> on vacation in europe until saturday night)
>
> I first thought that this might be related to the cleanUpSWFs()  
> function i
> added in to address a streaming bug that popped up when you use  
> innerHTML to
> write the <object> tag in IE, but if it happens with just 2 movies,  
> i'm not
> sure that's the case.
>
> if you have time, try commenting out the part that adds the  
> window.onunload
> method and see if that helps. aside from that i'll have to take a  
> closer
> look at it when i have more time (next week)
>
>
>
>
> On Jul 18, 2006, at 12:00 AM, Pablo Garayzabal wrote:
>
>
> Hi,
>
> First of all, I want to thank Geoff for his great and useful code.
>
> I found a bug affecting Flash player 9.
>
> When you try to establish two ExternalInterface callBacks for two  
> different
> swfobjects, the page crashes in Internet Explorer 6 and Flash  
> player 9.
>
> This is the environment:
>
> One html containing 2 different SWFObjects.
>
> Each swf with its unique Id
>
> Each swf with a different  ExternalInterface callBack method name.  
> (Calling
> different javascript functions)
>
> In flash player 8 works fine. In flash player 9 the page crashes:
>
> - Out of memory message when trying to execute a getURL method from  
> any swf
> movie.
> - Displacement of the swfs from their original position.
> - Clicking a simple <a href =whatever.html> html tag takes about  
> 30-40
> seconds to execute. Then out of memory message
> - Out of memory at line ## error
> - Stack overflow at line ## error
>
> Downgrading to SWFObject v1.4.1 fixes the displacement problem.
>
> Source code and example at http://www.dinamik.es/test/
>
> Any help will be much appreciated.
>
> Thanks in advance,
> Pablo.
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
>
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list