Selection

Object
  |
  +-Selection

public class Selection
extends Object

The Selection class lets you set and control the text field in which the insertion point is located (that is, the field that has focus). Selection-span indexes are zero-based (for example, the first position is 0, the second position is 1, and so on).

There is no constructor function for the Selection class, because there can be only one currently focused field at a time.

Availability: ActionScript 1.0; Flash Player 5

Property summary

Properties inherited from class Object

constructor (Object.constructor property),
 __proto__ (Object.__proto__ property), prototype (Object.prototype ...

Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.