Operation Aborted in IE with jQuery and swfobject

Author: seven April 27, 2007

It all started when we decided to replace prototype with jQuery on one of our projects. Everything worked like a charm until somebody decided to finally check how things are working in IE. Then shit hit the fan in a form of “Operation Aborted” error. Page started to load nicely, but in the moment of swfobject initialization – the funky error popped out. I really like and support the swfobject project, but obviously, IE hates those two. Luckily enough for us, guy called Luke Lutman made a jQuery Flash Plugin which successfully solved some of our problems. I say some, because using the packed version of jQuery still breaks ActiveX control activation in Internet Explorer. Solution is aether to patch jQuery, or to use uncompressed version. Damn you Eolas patent no. 5,838,906!

[photopress:swfobject_jquery_operation_aborted.jpg,full,pp_image]

Author
seven
CEO/CTO at Nivas®
Neven Jacmenović has been passionately involved with computers since late 80s, the age of Atari and Commodore Amiga. As one of internet industry pioneers in Croatia, since 90s, he has been involved in making of many award winning, innovative and successful online projects. He is an experienced full stack web developer, analyst and system engineer. In his spare time, Neven is transforming retro-futuristic passion into various golang, Adobe Flash and JavaScript/WebGL projects.

    3 thoughts on “Operation Aborted in IE with jQuery and swfobject”

  • Hello, maybe this Microsoft article could help you. It seems not to be a problem between jquery and SWObject, but a bug of IE playing with the DOM… I think that jQuery is the detonator to this bug because its ready event.

    http://support.microsoft.com/?scid=kb%3Ben-us%3B927917&x=13&y=8

    Best regards

  • Iker, thanks for the link. Aral Balkan found an interesting walkaround too. The secret is in using defer=defer in piece of javascript code which calls swfObject.

    … script type=”text/javascript” defer=”defer” …

  • Leave a Reply

    Your email address will not be published. Required fields are marked *