Works fine in IE7 on WinXP SP3. My guess is try reinstalling your flash player.
Look at FAQ #18: http://code.google.com/p/swfobject/wiki/faq --Kyle -------------------------------------------------- From: "Steve" <[email protected]> Sent: Friday, July 17, 2009 9:15 PM To: "SWFObject" <[email protected]> Subject: automation server can't create object > > Hi All, > > I am trying to get Enhance to work with swfObject 2.2. It is working > fine in Mozilla but not IE8. > > I have narrowed the problem down to this section of swfObject's code > (not saying there is a bug in SO - just that this is where things are > going wrong): > > else if (typeof win.ActiveXObject != UNDEF) { > try { > var a = new ActiveXObject(SHOCKWAVE_FLASH_AX); > if (a) { // a will return null when ActiveX is disabled > d = a.GetVariable("$version"); > if (d) { > ie = true; // cascaded feature detection for Internet Explorer > d = d.split(" ")[1].split(","); > playerVersion = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt > (d[2], 10)]; > } > } > } > catch(e) {} > } > > Specifically, the var a = new ActiveXObject(SHOCKWAVE_FLASH_AX); is > failing. I placed an alert in the catch(e) and get the following > message: > > "automation server can't create object" > > I tweaked the outputStatus function to also show the id of the div > where the swf content should go and placed a catch around it so that I > could display any errors in an alert. > > Here's my SO embed statement: > > swfobject.embedSWF(fullMoviePath, myDiv.id, width, height, "9.0.0", > false, flashvars, params, attributes, outputStatus); > > Here's the link to my test page: > > http://www.norrisoft.com/testing/so22/default2.htm > > In Mozilla, you get the tweaked outputStatus alert. After clearing the > outputStatus alert, you will see a T-Rex animation run across the > screen. > > In IE 8, you get the error I mentioned above and no T-Rex. The > > I am running Firefox/3.0.11 with Flash Player 10.0.22.87 (working) > and IE 8.06 with FP 9,0,124,0 (Not working). > > Any ideas? > > Thanks! > > Steve > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
