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

WindowedApplication.as causing ASDoc compiler error becasue of reference to Screen

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Because Flex mobile defines a spark.components.Screen class and Flash defines the flash.display.Screen class, the ASDoc compiler generates an ambiguous reference error in WindowedApplication.as. To work around this error, change this line:

      const screenRect:Rectangle = Screen.mainScreen.visibleBounds;

      to this:

      const screenRect:Rectangle = flash.display.Screen.mainScreen.visibleBounds;

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: