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

Cannot display fullscreen video in a new window



    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Spark: VideoPlayer
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English


      My top level application consists of a login screen. When the user logs in successfully, the main application is closed using "this.close()" and a new Window() is opened. Inside the new window I've added the VideoPlayer component and specified a source.

      When I run the application, everything works as expected. However as soon as I click the full screen option on the VideoPlayer, Flex says:

      Error: Error #3200: Cannot perform operation on closed window.
      at flash.display::Stage/desktop_set_displayState()
      at flash.display::Stage/set displayState()
      at spark.components::VideoPlayer/fullScreenButton_clickHandler()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\VideoPlayer.as:2233]

      Inside the VideoPlayer.as file I've found what I think is the problem:

      2204: // add as a popup
      2205: PopUpManager.addPopUp(this, FlexGlobals.topLevelApplication as DisplayObject);

      I commented out line 2205 and added a new line:

      PopUpManager.addPopUp(this, parentApplication as DisplayObject);

      However I get the same error and it still says the problem is at line 2233 as well, even though line 2233 now reads (due to the additional line I added above):

      // TODO (rfrishbe): Should we make this FULL_SCREEN_INTERACTIVE if in AIR?

      I cleaned my project via the Project menu but I still get the same error message.




            adobejira Adobe JIRA
            adobejira Adobe JIRA
            0 Vote for this issue
            0 Start watching this issue