Capabilities.version returns the flash player version within AIR?

Capabilities.version returns my flash player version, "WIN 10,1,53,64", and not the AIR version within my air app. The Flex 4 reference states, "Specifies the Flash Player or Adobe® AIR® platform and version information". I assume this behavior is a bug, then. How can I obtain the version of AIR programmatically within AIR?
My version of AIR is 2.5.1.17730.
Thanks,
Mark

Hi Mark,
To get the AIR runtime version please try:
NativeApplication.nativeApplication.runtimeVersion
I'll ask around about the docs, it does appear to be misleading.
Chris

Similar Messages

  • How do I get a user to update to the Flash Player Version to 10.1

    I would like to find out if there is a way for a message to pop up on my website if the user has Flash Player version lower than 10.1. If the version 10.1 or higher (in the future) no message should come up. The message should prompt a user to update to the Flash Player version 10.1.
    My entire site is in Flash and I am using AS3. So I am guessing I should implement an AS3 code on the first frame of the script layer. Does anyone know what would be this code?

    O.K. I see,
    HTML code is automatically generated by Flash program.
    I am unable to give you a short answer on this and thus attaching the code I
    see in DreamWeaver:
    0) {
    versionRevision = versionRevision.substring(0,
    versionRevision.indexOf("d"));
    var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
    // MSN/WebTV 2.6 supports Flash 4
    else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1)
    flashVer = 4;
    // WebTV 2.5 supports Flash 3
    else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1)
    flashVer = 3;
    // older WebTV supports Flash 2
    else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer
    = 2;
    else if ( isIE && isWin && !isOpera ) {
    flashVer = ControlVersion();
    return flashVer;
    // When called with reqMajorVer, reqMinorVer, reqRevision returns true if
    that version or greater is available
    function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
    versionStr = GetSwfVer();
    if (versionStr == -1 ) {
    return false;
    } else if (versionStr != 0) {
    if(isIE && isWin && !isOpera) {
    // Given "WIN 2,0,0,11"
    tempArray         = versionStr.split(" "); // ["WIN", "2,0,0,11"]
    tempString        = tempArray[1]; // "2,0,0,11"
    versionArray      = tempString.split(","); //
    } else {
    versionArray      = versionStr.split(".");
    var versionMajor      = versionArray[0];
    var versionMinor      = versionArray[1];
    var versionRevision   = versionArray[2];
             // is the major.revision >= requested major.revision AND the minor
    version >= requested minor
    if (versionMajor > parseFloat(reqMajorVer)) {
    return true;
    } else if (versionMajor == parseFloat(reqMajorVer)) {
    if (versionMinor > parseFloat(reqMinorVer))
    return true;
    else if (versionMinor == parseFloat(reqMinorVer)) {
    if (versionRevision >= parseFloat(reqRevision))
    return true;
    return false;
    function AC_AddExtension(src, ext)
      if (src.indexOf('?') != -1)
        return src.replace(/\?/, ext+'?');
      else
        return src + ext;
    function AC_Generateobj(objAttrs, params, embedAttrs)
      var str = '';
      if (isIE && isWin && !isOpera)
        str += '';
      document.write(str);
    function AC_FL_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".swf", "movie",
    "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
         , "application/x-shockwave-flash"
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_SW_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".dcr", "src",
    "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
         , null
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
      var ret = new Object();
      ret.embedAttrs = new Object();
      ret.params = new Object();
      ret.objAttrs = new Object();
      for (var i=0; i < args.length; i=i+2){
        var currArg = args[i].toLowerCase();
        switch (currArg){
          case "classid":
            break;
          case "pluginspage":
            ret.embedAttrs[args[i]] = args[i+1];
            break;
          case "src":
          case "movie":
            args[i1] = AC_AddExtension(args[i1], ext);
            ret.embedAttrs["src"] = args[i+1];
            ret.params[srcParamName] = args[i+1];
            break;
          case "onafterupdate":
          case "onbeforeupdate":
          case "onblur":
          case "oncellchange":
          case "onclick":
          case "ondblclick":
          case "ondrag":
          case "ondragend":
          case "ondragenter":
          case "ondragleave":
          case "ondragover":
          case "ondrop":
          case "onfinish":
          case "onfocus":
          case "onhelp":
          case "onmousedown":
          case "onmouseup":
          case "onmouseover":
          case "onmousemove":
          case "onmouseout":
          case "onkeypress":
          case "onkeydown":
          case "onkeyup":
          case "onload":
          case "onlosecapture":
          case "onpropertychange":
          case "onreadystatechange":
          case "onrowsdelete":
          case "onrowenter":
          case "onrowexit":
          case "onrowsinserted":
          case "onstart":
          case "onscroll":
          case "onbeforeeditfocus":
          case "onactivate":
          case "onbeforedeactivate":
          case "ondeactivate":
          case "type":
          case "codebase":
          case "id":
            ret.objAttrs[args[i]] = args[i+1];
            break;
          case "width":
          case "height":
          case "align":
          case "vspace":
          case "hspace":
          case "class":
          case "title":
          case "accesskey":
          case "name":
          case "tabindex":
            ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
            break;
          default:
            ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
      ret.objAttrs["classid"] = classid;
      if (mimeType) ret.embedAttrs["type"] = mimeType;
      return ret;
    // -->
    <!url's used in the movie>
    <!text used in the movie>
    </html

  • Dipalying message to the user to update to the latest version of the flash player.

    Hi all,
    In my latest application I am using flex functionality which
    is supported only in the latest version of the flash player. So my
    task here would be to display a message to the user for upgrading
    to the latest version of the Flash Player. I have tried working on
    it but didn't find any solution.
    Anybody who has worked on the similar issue can please help
    me out.
    Thanks in advance.

    In Menu, Project, Properties, Flex Compiler, ensure "Use
    Express Install" is checked, and FB will generate this code for
    you.
    Tracy

  • Flash Builder 4.5 unable to find the debug version of the Flash Player.

    I'm running into the following error:
    C:\Windows\System32\Macromed\Flash\NPSWF32.dll
    Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
    Do you want to try to debug with the current version?
    I have already went to the link the dialog box provided to download the debug versions of the Flash Player.  I have installed both the Plugin and AX versions of the debugger.  Restarted all browers, Flash Builder and rebooted the PC for good measure.  I have spent a good amount of time looking for information on this issue.  All the threads that I found that were related to this issue didn't have a workable soution so far.  Hence I'm starting a thread on this problem.
    I'm running Flash Builder 4.5 on Windows Vista 32-bit.  I have tried using both FireFox 3.6.24 and IE 8.0.6001.
    I started with the Trial version then purchased the license online.  I don't know if that has any bearing.
    Any information to diagnose this problem further would be greatly appreciated.

    Hi emat3d,
    Try to uninstall Flash Player with this Adobe uninstaller, please ensure you close all application which might be using Flash Player. Then try to install your Flash Player debugger again. It solved for me.

  • Mac Safari message: To view this content, you need the latest version of the Flash Player. Adobe TV

    How do i get past this message?
    To view this content, you need the latest version of the Flash Player. Adobe TV uses the Open Source Media Framework (OSMF) to deliver a superior video experience. Please upgrade your Flash Player to version 10.2 to benefit from this technology.
    I am running Mac OS X 10.10.3 with the latest Safari version 8.0.5.
    I have uninstalled and removed cache and reinstalled the Flash Player 17 many times, but still get this message when i try to view a video in Adobe TV. 
    I have version 17 of Flash player installed but the Adobe TV is asking me to upgrade to v10.2.

    Try using a different browser and/or be sure to install and enable the Flash Player plugins for your browser. 
    Safari
    https://helpx.adobe.com/flash-player/kb/enabling-flash-player-safari.html
    Chrome
    Adobe Flash Player plug-in - Chrome Help
    Firefox
    Install the Flash plugin to view videos, animations and games | Firefox Help
    Nancy O.

  • Problems by installing the latest version of the flash player

    I cannot download the newest version of the flash player!!!!!!
    I have already tried several times but it always went wrong....
    I have already a version but the system ask to download the latest version.
    Now I cannot watch all the  filmpjes which are shown on my PC.
    I have this the most on facebook.

    http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html

  • More recent version of the Flash Player error

    Mac user. Every time I run I get the following error:
    quote:
    /Library/Internet Plug-Ins/Flash Player.plugin
    Flex Builder requires a more recent version of the Flash
    Player. You might need to install the Flash Player or reinstall
    Flex Builder.
    Installed Flash version: 9,0,0,0
    Required version: 9,0,115,0
    (This version is only required for developers, not for end
    users.)
    Do you still want to launch the application?
    I click Yes and it works fine, but it is a PITA to do this
    every time. When I go to the adobe version page it says I have
    version 9,0,124,0 installed. I tried uninstalling flash (using
    Adobe's tool) and reinstalling. No dice. I tried uninstalling Flex
    Builder and reinstalling. No dice.
    Any ideas?

    Not a Mac user sorry, but I thought I would mention that
    there are two flavours of the player - Normal and Debug player. To
    install the debug player download it from here:
    http://www.adobe.com/support/flashplayer/downloads.html

  • This is in regards to to the flash player version 11.6

    well i was wanting to know how do i exactly fix my flash player so i can see any videos play the right way, this flash player 11.6 version is messing up really bad so if any can help me fix this i would appreciate it.

    To help troubleshoot we'll need the following system information:
    Operating   system  
    Browser  
    Flash   Player version
    When reporting issues with video or audio, it's also helpful to get your system hardware and driver details.  Instructions for finding this information can be found here:
    Windows  
    Mac
    Finally, sometimes video and audio problems are caused at a lower level and not directly related to Flash Player.  I recommend trying both of the links below to see how they perform.  If the problem exists with both, then Flash Player is most likely not the culprit as the HTML5 video link does not use Flash Player when playing.  You can verify the use of HTML5 by right clicking the HTML5 video and looking for the words "About HTML5" at the bottom of the context menu.
    HTML5   video  
    Non-HTML5 video

  • After a tryout with AdBlock, the videos on Facebook, on BBC and on some others websites stopped working and there's always a message asking me to install the latest version of the Flash Player. Even though it's already installed. How can I fix that?

    After a tryout with AdBlock, the videos on Facebook, on BBC and on some others websites stopped working and there's always a message asking me to install the latest version of the Adobe Flash Player. Even though it's already installed the situation remains the same since the last month.
    Can I fix that just doing the upgrade for the Yosemite?

    Well, after hours of trying to figure it out I gave up and un-installed and re-installed that last verion of Adobe Flash Player and now it seems I can play games again in Messenger. Everything else had been fine just that. I can only figure it was because it was having a hard time updating the first time and took me 3 tries. So even though it said it was installed, apparently it wasn't done correctly.
    Though when I couldn't figure out what was wrong at first I looked and checked to see all the things were enabled that were supposed to be and they were.
    I even tried to go to the Adobe site and download the last version I had and couldn't find it. Kept coming up with the new version. Others said if you download a particular older version it may not have all the security features in it.
    This really gets to be a bit much, especially when you're by yourself and have only a smattering of knowledge of technical things.
    Thanks fore responding to my question.
    DFelice

  • Where is the Flash Player version that will work in IE10 64bit?

    Where on the web site can I find a release date for a Flash Playerversion that will work with Internet Explorer 10 64bit in Windows 7 64bit?
    Or can someone please let me know when/if there will be a version soon.

    Here is the link to the revamped Flash Player forums as a result of your post: Flash Player. And this thread has been moved (not by me) to the forum where you can ask questions about using Flash Player...

  • Getting old versions of the Flash Player

    I need to get Flash Player 7 somehow to test out a website...
    Is there anyway I can switch from Flash 9 to Flash 7 somehow? It's
    a pain!

    Old players are available here:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14266.
    Here's a quite helpful program that lets you switch between
    installed versions:
    http://www.kewbee.de/produkte/PluginSwitcher.html.
    Look at the readme how to get it to work, it's a bit strange to
    setup, but works fine once it's installed properly.
    greets,
    blemmo

  • I do not have the correct version of the flash player, but when I follow the steps to download it, it still doesn't work in Firefox. (It does work in Internet Explorer)

    Every time I click on a video icon, the response I get is that I cannot play the clip because I do not have the correct flashplayer. However, when I click to download it, nothing changes. I even tried disabling my security setting but it still did not work. Unfortunately, the troubleshooting help was too complicated for me to figure out. Is there something basic I can do to make firefox work? It does work on Internet explorer, so obviously the correct program is in my computer - it just won't work on firefox.

    IE uses a different version of Flash than other browsers use.
    1.Download the Flash setup file from here: <br />
    [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe Adobe Flash - Plugin version]. <br />
    Save it to your Desktop.<br />
    2. Close Firefox using File > Exit <br />
    then check the Task Manager > Processes tab to make sure '''firefox.exe''' is closed, <br />
    {XP: Ctrl+Alt+Del = Processes tab}
    3. Then run the Flash setup file from your Desktop.

  • IDLE event problem with newer versions of the flash player

    Greetings,
    I have an issue that seems to be related to newer versions of the flashplayer in how they handle IDLE events. I have an IDLE event handler that works as expected with flashplayer version 10.0.45.2. With flashplayer 10.2.153.1, the IDLE event does not fire when my flex application is not in focus (browser minized, different browser tab in focus,etc...). Or when it fires, it's usually after a longer lag than normal. Has anyone experienced this issue? Thanks

    Thanks for the reply. Are there any fixes/workarounds for this issue? Say I have a need to create a timer that fires every 10 minutes regardless of whether the player is in focus or not, how do I implement such a timer? Same goes for the IDLE event, I want to be notified if the application has been idle for X minutes regardless of whether it's in focus or not.Prior to 10.2 (and per your reply, 10.1), this all worked fine in flex without needing to adjust for the player being in focus.

  • I have updated java and adobe flash, removed old versions of them and updated firefox, but i still get the message that i need to install the latest version of the flash player what else do i need to do???

    I can't watch youtube videos or any other videos, i also cant play any of the little flash player games that my kids like.

    You are updated see your user agent :
    Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
    all you have to do is to '''set another page as the home page''', see why is that in '''cor-el''' reply [https://support.mozilla.org/en-US/questions/905310 here] .
    thank you

  • I have the latest version of the flash player installed, but all web sites can mot detect it.

    Why is Adobe Flash Player not detected on my computer when I clearly have downloaded, installed and enabled it??

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10-15 seconds).
    No data will be lost.

Maybe you are looking for