| || || |
Fecha de Ingreso: mayo-2001
Antigüedad: 15 años, 5 meses
Re: Como hacer esto ??
Si se trata de seleccionar texto, al menos en MX existe un objeto selection que te permite saber donde esta el foco, recolocarlo o saber la parte seleccionada de texto o establecer una seleccion sobre un texto.... tomado del dictionary:
The Selection object lets you set and control in which text field the cursor is located in a Flash movie. The text field that is said to have "focus" is the field in which the cursor is currently located. 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 method for the Selection object, as there can only be one currently focused field at a time.
Flash Player 5.
start The beginning index of the selection span.
end The ending index of the selection span.
Method; sets the selection span of the currently focused text field. The new selection span will begin at the index specified in the start parameter, and end at the index specified in the end parameter. Selection span indexes are zero-based (for example, the first position is 0, the second position is 1, and so on). This method has no effect if there is no currently focused text field.