Description
Object. Gets or sets the current display setting.
Syntax
SysInfo.displaySetting
Remarks
The property returns an object contains following properties:
If you want to test if the display setting can be set, just add a test property to the object and set it to true.
Tips: Use the getDisplaySettings method to list all of the display settings. After you set the property, you can check the test property to see what has happened:
Example
//get the current display setting var ds = SysInfo.displaySetting; trace(ds. pelsWidth); trace(ds. pelsHeight); trace(ds. bitsPerPel); trace(ds. displayFrequency); //change the current display setting; ds.pelsWidth = 800; ds.pelsHeight = 600; ds.test = true; SysInfo.displaySetting = ds;