[SWFObject] BUG FOUND

Geoff Stearns geoff at deconcept.com
Mon Jul 24 18:59:01 PDT 2006


could you give us a list of them?

to unset them, try either setting it to null, or just setting it to  
an empty function:

functionName = null;

or

functionName = new Function() {}


On Jul 24, 2006, at 7:47 PM, Jonathan Spooner wrote:

> I'm able to find the functions.  Does anyone know how to remove one
> of them?
>
>
>
> On Jul 24, 2006, at 3:23 PM, Geoff Stearns wrote:
>
>> well that's what i was afraid of... kinda bad news.
>>
>> there may be a small chance to fix it... when the player initializes,
>> it inserts some js into the page... if we can watch what it's
>> inserting, and remove the 'bad' code, then we might be able to fix  
>> it.
>>
>> i'm not sure i have time to do it this week, but if someone else can
>> find ways to watch what js is being inserted (maybe just write some
>> js that loops through all the javascript functions on the page after
>> it's done loading and the flash player is initialized?) then we could
>> try removing the functions one by one and see if that fixes the
>> problem.
>>
>>
>>
>>
>> On Jul 24, 2006, at 5:35 PM, Pablo Garayzábal wrote:
>>
>>>
>>> The problem DOES NOT disappear using <object>, <embed> tags
>>> instead of
>>> SWFObject.js!!
>>>
>>> http://www.dinamik.es/test/normalEmbed.html
>>>
>>> So... it has to be a flash player 9 bug, not a SWFObject problem!.
>>>
>>> I think Adobe should be informed about it.
>>>
>>> Anybody knows how to do it? (any direct link or email for flash
>>> player
>>> bugs)?
>>>
>>> Do you think they'll do something to fix it?
>>>
>>>
>>>
>>> -----Mensaje original-----
>>> De: swfobject-bounces at lists.deconcept.com
>>> [mailto:swfobject-bounces at lists.deconcept.com] En nombre de Geoff
>>> Stearns
>>> Enviado el: lunes, 24 de julio de 2006 22:39
>>> Para: swfobject at lists.deconcept.com
>>> Asunto: Re: [SWFObject] BUG FOUND
>>>
>>> have you tried using a non-js embed method? just the generic object/
>>> embed tag that flash spits out?
>>>
>>> it's interesting that only fp9 shows the issue... i spoke briefly
>>> with a flash player tech when i made the streaming content fix in
>>> 1.4.2, and it sounded like he was going to put a similar fix into  
>>> fp9
>>> to fix the problem (which is really an IE bug)
>>>
>>>
>>> the other issue with the movies changing position i'm treating as a
>>> different issue.
>>>
>>> if you comment out the 'onunload' part do they still change position
>>> when you click the link?
>>>
>>>
>>> On Jul 24, 2006, at 4:26 PM, Pablo wrote:
>>>
>>>>
>>>> Here are a few points I found (just to summarize):
>>>>
>>>> When two different swf with two different ExternalInterface Calls
>>>> are in the
>>>> same html:
>>>>
>>>> - Flash 8 works perfectly (It's only a flash 9 issue).
>>>>
>>>> - The adobe's suggested AC_RunActiveContent.js script presents the
>>>> same
>>>> problem (If not bigger. I had 2 more error messages testing it).
>>>>
>>>> - SWFObject v1.4.2 changes the position of the movies when pressing
>>>> any
>>>> link. Downgrading to v1.4.1 fixes this problem.
>>>>
>>>> - Different error messages depending on the machine (all running
>>>> windows xp,
>>>> iExplorer 6 and flash 9)
>>>>
>>>>
>>>>
>>>>
>>>> -----Mensaje original-----
>>>> De: swfobject-bounces at lists.deconcept.com
>>>> [mailto:swfobject-bounces at lists.deconcept.com] En nombre de Geoff
>>>> Stearns
>>>> Enviado el: lunes, 24 de julio de 2006 22:08
>>>> Para: swfobject at lists.deconcept.com
>>>> Asunto: Re: [SWFObject] BUG FOUND
>>>>
>>>> i'm looking at this today actually... we have a project where this
>>>> may be an issue, so hopefully in the next day or two i'll have a  
>>>> fix
>>>> for you...
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Jul 24, 2006, at 12:06 PM, Pablo Garayzábal wrote:
>>>>
>>>>> Hi Geoff,
>>>>>
>>>>> I hope you have enjoyed your holidays!
>>>>>
>>>>> Do you have any clue about the ExternalInterface bug?
>>>>>
>>>>> The url and test files are here: http://www.dinamik.es/test/
>>>>>
>>>>> Thank you,
>>>>> Pablo.
>>>>>
>>>>>
>>>>>
>>>>> -----Mensaje original-----
>>>>> De: swfobject-bounces at lists.deconcept.com
>>>>> [mailto:swfobject-bounces at lists.deconcept.com] En nombre de Geoff
>>>>> Stearns
>>>>> Enviado el: miércoles, 19 de julio de 2006 10:01
>>>>> Para: swfobject at lists.deconcept.com
>>>>> Asunto: Re: [SWFObject] BUG FOUND
>>>>>
>>>>> 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
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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