Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-25740

Full Screen In AIR No Longer Works Correctly After Updating to AIR Player 2.5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.0 (Release)
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Other (specify version)
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a AIR Project, add a button and any visual component (image, video, button, etc...)
      2. Add code behind the button to Full Screen the Visual Component
      3. Launch\Run using Flex Builder 3 or 4, or using Flex SDK 3 or 4. Full Screen works fine
      4. Export Release Build (Flex Builder 3 or 4) or Package using Flex SDK (Flex SDK 3 or 4)
      5. Install the resulting .air file
      6. Click button to go into Full Screen, Full Screen no longer works properly.
      7. Prior to release AIR Player/Installer 2.5 Full Screen worked fine

      I have attached two projects. Project "Flex4BuilderSrc.zip", contains a Flex 4 Spark project. The issue with Full Screen here is a white band appears across the screen when entering Full Screen.

      Project "FlexBuilderSrc.zip", contains a Flex 4 MX project which can be compiled using Flex 4 or 3 (the builder or the SDK). The issue with Full Screen here is the component entering Full Screen appears in the top left corner with scroll bars.

      If you wish to use the SDK for the Flex Builder Src, below are the Compile, Run and Package commands I use with Flex SDK 4:

      COMPILE:
      "<SDK Folder>\bin\amxmlc" -strict=false -show-actionscript-warnings=false -theme=${flexlib}/themes/Halo/halo.swc "<Project Folder>\Flex4SDKSrc\Main.mxml"

      RUN:
      "<SDK Folder>\bin\adl.exe" "<Project Folder>\Flex4SDKSrc\Main-app.xml"

      PACKAGE:
      "<SDK Folder>\bin\adt" -package -storetype pkcs12 -keystore "<Cert Folder>\Certificate.p12" -storepass "*password*" -tsa none "<Project Folder>\Flex4SDKSrc\Main.air" "<Project Folder>\Flex4SDKSrc\Main-app.xml" -C "<Project Folder>\Flex4SDKSrc" "Main.swf" "image.png"

      Actual Results:
      White band appears across screen with Spark Project.
      Component enters Full Screen but in top left corner with scroll bars with MX Project

      Expected Results:
      No White band to appear across screen with Spark Project.
      Component enters Full Screen without scroll bars with component in the center of the screen with MX Project
      To WORK exactly as it did before AIR Installer/Player 2.5 was released, and as it does when launching\running from Flex Builder or Flex SDK.

      Workaround (if any):
      No workarounds found, as I can't regress to a previous version of AIR.
      PLEASE NOTE: The problems only occur when installing the air application from a .air file, NOT when launching\running from Flex Builder or Flex SDK.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: