Chapter 32: Touch, multitouch and gesture input

The touch event handling features of OpenFL include input from a single point of contact or multiple points of contact on touch-enabled devices.

In other words, OpenFL interprets the following types of input: **Touch** input with a single point device such as a finger, stylus, or other tool on a touch-enabled device. Some devices support multiple simultaneous points of contact with a finger or stylus. **Multitouch** input with more than one simultaneous point of contact.

Note: Listening for touch and gesture events can consume a significant amount of processing resources (equivalent to rendering several frames per second), depending on the computing device and operating system. It is often better to use mouse events when you do not actually need the extra functionality provided by touch or gestures. When you do use touch or gesture events, consider reducing the amount of graphical changes that can occur, especially when such events can be dispatched rapidly, as during a pan, rotate, or zoom operation. For example, you could stop animation within a component while the user resizes it using a zoom gesture.

Section Contents

More Help topics

results matching ""

    No results matching ""