The following example shows how you can detect the number of screens on a user’s system in Adobe AIR by using the static, read-only Screen.screens property.
The following example shows how you can detect the line ending character sequence used by the host operating system in Adobe AIR by using the static File.lineEnding property.
The following example shows how you can display a custom title bar icon in a WindowedApplication container in Adobe AIR by setting the titleIcon property.
The following example shows how you can customize the text styles on the WindowedApplication status bar in Adobe AIR by setting the statusTextStyleName style.
The following example shows how you can keep a WindowedApplication container on top of other windows in Adobe AIR by setting the Boolean alwaysInFront property.
In a previous example, “Opening a new Window in Adobe AIR”, we saw how you could launch a new Flex Window container in Adobe AIR by creating a custom Window component and calling the open() method.
The following example shows how you can control whether the newly opened window receives focus and becomes active by setting the Boolean openWindowActive attribute to the open() method.
The following example shows how you can launch a new Flex Window container in Adobe AIR by creating a custom Window component and calling the open() method.
The following example shows how you can toggle whether the Flex FileSystemDataGrid control in Adobe AIR shows file sizes in bytes or kilobytes by setting the sizeDisplayMode property to one of the static constants in the mx.controls.FileSystemSizeDisplayMode class.
The following example shows how you can do a date sort on the Flex FileSystemDataGrid control in Adobe AIR by setting a custom sort compare function on the creationDateColumn and modificationDateColumn objects.
