deconcept swfObject bug debugged!
remember how i said my png transparency solution relied on deconcept’s swfobject? We noticed that whenever you clicked a link that left a page, it seemed that every embedded flash object was dumped from the page, collapsing holes and causing everything to look screwy for a second before the page switched.
for the record, this can be fixed by following these directions: http://lists.deconcept.com/pipermail/swfobject-deconcept.com/2006-August/001407.html
Or, just comment out these lines from the swfobject.swf
if (typeof window.onbeforeunload == 'function') {
var oldBeforeUnload = window.onbeforeunload;
window.onbeforeunload = function() {
deconcept.SWFObjectUtil.cleanupSWFs();
oldBeforeUnload();
}
} else {
window.onbeforeunload = deconcept.SWFObjectUtil.cleanupSWFs;
}
edit: for crying out loud, why dont any of my wordpress plugins for code formatting work???
edit 2:
Geoff at Deconcpet wrote me about this, and it was definitely a known issue. I’m previewing the next release of swfobject, which seems to have the problem locked down, although, i dont have the ability to test the main function of the cause of the bug: the release of swf’s with streaming content. I should have that soon, for testing, and will follow up a report on that.
Thanks, Geoff. You (and swfobject) are awesome.
If you liked this, you should subscribe to Coworking Weekly.
You get one totally free email every Thursday full of the best coworking links I've found that week, along with coworking announcements & deals from around the world.
-
http://blog.deconcept.com/ Geoff
-
http://blog.deconcept.com/ Geoff
-
http://blog.deconcept.com/ Geoff
-
http://blog.deconcept.com/ Geoff
-
dangerouslyawesome
-
dangerouslyawesome
-
http://nrg.wustl.edu/twiki/pub/Main/MikaelTormod/index.html trmadol
-
http://nrg.wustl.edu/twiki/pub/Main/MikaelTormod/index.html trmadol


