locked
Flash Player detection fails with Shockwave Flash version >= 10 RRS feed

  • Question

  • I had massive problems viewing Clinic 5136 .
    All that appeared was a message stating I needed a proper Flash player.
    Since I have the latest versin installed, that's just silly.

    I was able do dig into it using a JavaScript debugger.

    The following code in flash.js fails, as with Flash versions bigger
    than 9, the detected major version ends up being wrong. In this
    case even 0. For example with the current version, the following
    code, munching on

     navigator.plugins["Shockwave Flash"] == "Shockwave Flash 10.0 r32"

    simply takes the single '0' in front of the dot as part of "10.0".
    This furtheron leads to the expected minimal Flash version not to
    be verified and acces to the Course blocked to anyone with
    a current Flash Palyer installed. What a nuisance!


    The failing code in
    https://www.microsoftelearning.com/themes/default/scripts/flash.js :

    function setNavigatorFlashValues() {
     -   43    if (navigator.plugins && navigator.plugins.length) {
     -   44       x = navigator.plugins["Shockwave Flash"];
     -   45     if (x) {
     -   46            flashInstalled = 2;
     -   47        if (x.description) {
     -   48               y = x.description;

    // The failing line
     -   49               flashMajorVersion = y.charAt(y.indexOf('.')-1);

     -   50               flashMinorVersion = y.charAt(y.indexOf('.')+1);
     -   51               flashRVersion = y.substring(y.indexOf('r') + 1, y.length);
     -   52               flashVersion = flashMajorVersion + '.' + flashMinorVersion + '.' + flashRVersion;
         53            }
         54     } else {
     -   55        flashInstalled = 1;
         56     }
         57     //if (navigator.plugins["Shockwave Flash 2.0"]) {
         58     //   flashInstalled = 2;
         59     //   flashVersion = "2.0.0";
         60     //}
         61    }
         62 } // setNavigatorFlashValues
         63
    Monday, August 3, 2009 10:02 AM

All replies

  • Hi There,
    Can you please contact me at learnmgr@microsoft.com and I will be happy to put you in touch with the people who will help resolve your issue.
    Thanks,
    Farooq Jiwani.
    Farooq Jiwani Microsoft E-Learning www.microsoft.com/elearning
    • Proposed as answer by FJ2008 Tuesday, August 4, 2009 5:32 PM
    Tuesday, August 4, 2009 5:31 PM
  • Thanks, in the meanwhile downgrading to Flash Player 9 did the job as a workaround, following these instructions:

    1. Deinstall Flash 10 using Adobe's Adobe Flash Player uninstaller .
        (Deinstalling using Windows software deinstallation unfortunately didn't do the job)

    2. Install latest Flash 9, see http://kb2.adobe.com/cps/142/tn_14266.html
        (The download is ridicolously huge because there's every revision for every platform in this archive)

    Worked for me
    Thursday, August 6, 2009 9:09 AM