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

Back to System Class Summary

Windows, Mac OSX, Linux

mdm.System.setResolution(resolutionX:Number, resolutionY:Number, colorDepth:Number, refreshRate:Number):Void

resolutionX:Number - Horizontal resolution

resolutionY:Number - Vertical resolution

colorDepth:Number - Color Depth

refreshRate:Number - Refresh rate

A String

Changes the system resolution to the specified values. A "true" or "false" value is returned indicating whether or not the change was successful.

The 'refreshRate' parameter is available only on Windows. If a non-supported refresh rate is supplied, the command will default to 60hz.

Example Code
var ResChanged:String = mdm.System.setResolution(1024, 768, 32, 60);

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