Flash Lite 2.x and 3.0 ActionScript Language Reference

hasStylus (capabilities.hasStylus property)

public static hasStylus : Boolean [read-only]

Indicates if the mobile device supports stylus-related events.

This property returns true if the platform for the mobile device does not support stylus-related events. Otherwise, this property returns false.

The stylus does not support the onMouseMove event. This capabilities flag allows the Flash content to check if the platform for a mobile device supports this event.

Example

The following example traces the value of this read-only property:

 trace(System.capabilities.hasStylus);