Class fever.core.client.ClientScreen

Description

Client's screen properties.

Take a look at ClientContext to see example.

See Also

Field Index

color, dpi, height, refreshRate, width

Method Index

new ClientScreen()
toString()

Constructor Detail

ClientScreen

public function ClientScreen()

Constructor.

Field Detail

color

public color:String [Read Only]
A string that indicates the screen color. This property can have the value "color", "gray" or "bw", which represents color, grayscale, and black and white, respectively.

dpi

public dpi:Number [Read Only]
A number that indicates the dots-per-inch (dpi) resolution of the screen in pixels.

width

public width:Number [Read Only]
An integer that indicates the maximum horizontal resolution of the screen.

height

public height:Number [Read Only]
An integer that indicates the maximum vertical resolution of the screen.

refreshRate

public refreshRate:Number [Read Only]
The current display refresh rate in Hertz (Hz).

Flash doesn't know about this property in many context ( Flash player, browser ) but know it on SWF Studio, mProjector, Zinc etc...

Method Detail

toString

public function toString():String

Returns string representation