System.getDisplayModes() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to System Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.System.getDisplayModes():Array

Parameters
None

Returns
An Array

Description
Returns the available system display modes in a 2 dimensional array. The first dimension contains the display mode ID and the second dimension contains the resolution details.

Notes
None

Example Code
var displayModes:Array = mdm.System.getDisplayModes();

// displayModes[0][0] = Resolution Width
// displayModes[0][1] = Resolution Height
// displayModes[0][2] = Color Depth
// displayModes[0][3] = Refresh

mdm.System Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page