Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Flash Version

Flash Version

Scheduled Pinned Locked Moved Web Development
adobehelptutorialquestionannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    A Muthunagai
    wrote on last edited by
    #1

    Hi All, How to Find the Flash version in client's PC? We are developing Flash chat application, in that we have to check Whether the User having Flash when they access our chat application, So plz help me how to find the version. Thanks in Advance

    L 1 Reply Last reply
    0
    • A A Muthunagai

      Hi All, How to Find the Flash version in client's PC? We are developing Flash chat application, in that we have to check Whether the User having Flash when they access our chat application, So plz help me how to find the version. Thanks in Advance

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hi i did this check using Javascript find below the script

      <!--

      var flashinstalled = 0;
      var flashversion = 0;
      MSDetect = "false";
      if (navigator.plugins && navigator.plugins.length)
      {
      x = navigator.plugins["Shockwave Flash"];
      if (x)
      {
      flashinstalled = 2;
      if (x.description)
      {
      y = x.description;
      flashversion = y.charAt(y.indexOf('.')-1);
      }
      }
      else
      flashinstalled = 1;
      if (navigator.plugins["Shockwave Flash 2.0"])
      {
      flashinstalled = 2;
      flashversion = 2;
      }
      }
      else if (navigator.mimeTypes && navigator.mimeTypes.length)
      {
      x = navigator.mimeTypes['application/x-shockwave-flash'];
      if (x && x.enabledPlugin)
      flashinstalled = 2;
      else
      flashinstalled = 1;
      }
      else
      MSDetect = "true";

      // -->

      -- modified at 8:33 Monday 30th April, 2007

      WaelA Software Engineer WaelA@hotmail.com

      B 1 Reply Last reply
      0
      • L Lost User

        Hi i did this check using Javascript find below the script

        <!--

        var flashinstalled = 0;
        var flashversion = 0;
        MSDetect = "false";
        if (navigator.plugins && navigator.plugins.length)
        {
        x = navigator.plugins["Shockwave Flash"];
        if (x)
        {
        flashinstalled = 2;
        if (x.description)
        {
        y = x.description;
        flashversion = y.charAt(y.indexOf('.')-1);
        }
        }
        else
        flashinstalled = 1;
        if (navigator.plugins["Shockwave Flash 2.0"])
        {
        flashinstalled = 2;
        flashversion = 2;
        }
        }
        else if (navigator.mimeTypes && navigator.mimeTypes.length)
        {
        x = navigator.mimeTypes['application/x-shockwave-flash'];
        if (x && x.enabledPlugin)
        flashinstalled = 2;
        else
        flashinstalled = 1;
        }
        else
        MSDetect = "true";

        // -->

        -- modified at 8:33 Monday 30th April, 2007

        WaelA Software Engineer WaelA@hotmail.com

        B Offline
        B Offline
        Bradml
        wrote on last edited by
        #3

        Hey mate, that is a nice piece of script there, could I recommend that you place it in PRE tags so that it is easier to read (especially with so many nested statements).


        Brad Australian - peterchen on "Who has the worst keyboard" Keyboard? Ha! I throw magnets over the RAM chips!

        L 1 Reply Last reply
        0
        • B Bradml

          Hey mate, that is a nice piece of script there, could I recommend that you place it in PRE tags so that it is easier to read (especially with so many nested statements).


          Brad Australian - peterchen on "Who has the worst keyboard" Keyboard? Ha! I throw magnets over the RAM chips!

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Be My Guest Done

          WaelA Software Engineer WaelA@hotmail.com

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups