[SWFObject] BUG FOUND
Pablo Garayzábal
pablo at dinamik.es
Mon Jul 24 13:37:53 PDT 2006
Yes, I can confirm that.
The bug only affects flash player 9.
The site worked perfectly for 3 or 4 months, with FlASHObject until flash 9
was released.
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)
If you want me to confirm or to do any other test just ask.
Thanks, Pablo.
-----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:29
Para: swfobject at lists.deconcept.com
Asunto: Re: [SWFObject] BUG FOUND
did you test this with fp8 vs. fp9?
we aren't seeing the issue when using fp8, only with fp9.
can someone verify that?
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
More information about the Swfobject
mailing list