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;