Hi Oz. You when you visit this page (which uses the standard SWFObject 2.1 detection), what version info do you see? http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_api_getflashpla yerversion.html
I get 10.0.12 with my install of IE7 I have been using FP10 / SWFObject 2.x just fine for many months now. Other users have also not complained, so I think it is something specific to your machine. Perhaps a corrupt Flash player install as describe in FAQ #2 here: http://code.google.com/p/swfobject/wiki/faq Regards, Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of OZ Sent: Thursday, 8 January 2009 8:40 PM To: SWFObject Subject: IE7 + Flash 10 Hi, It seems that SWFObject is not up to date when it comes to detecting Flash 10 on IE7. After a lot of research (I'm not too familiar with activeXcontrols), I found out that Flash 10's activeXcontrol name is "ShockwaveFlash.ShockwaveFlash10". This is true at least on one of the machines I've been doing the tests on. Thus I have done a slight modification to the swfobject.js file by replacing the following lines: ---------------------------------------------- try { a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".7"); } catch(e) { try { a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".6"); playerVersion = [6,0,21]; a.AllowScriptAccess = "always"; // Introduced in fp6.0.47 } catch(e) { if (playerVersion[0] == 6) { fp6Crash = true; } } if (!fp6Crash) { try { a = new ActiveXObject(SHOCKWAVE_FLASH_AX); } catch(e) {} } } ---------------------------------------------- with the following : ---------------------------------------------- try { a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".10"); } catch(e) { try { a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".7"); } catch(e) { try { a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".6"); playerVersion = [6,0,21]; a.AllowScriptAccess = "always"; // Introduced in fp6.0.47 } catch(e) { if (playerVersion[0] == 6) { fp6Crash = true; } } if (!fp6Crash) { try { a = new ActiveXObject(SHOCKWAVE_FLASH_AX); } catch(e) {} } } } -------------------------------------------- I'm guessing it would be a good idea to do this on the official download of swfobject. Best, OZ http://semiaddict.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
