Foros del Web » Creando para Internet » Flash y Actionscript »

Como hacer esto ??

Estas en el tema de Como hacer esto ?? en el foro de Flash y Actionscript en Foros del Web. Alguien me puede decir cómo se hace lo que está en esta page ??? Desde un archivo en Flash marcan texto que está escrito en ...
  #1 (permalink)  
Antiguo 21/06/2002, 12:09
Avatar de mangandini
Colaborador
 
Fecha de Ingreso: marzo-2001
Ubicación: Guatemala
Mensajes: 1.752
Antigüedad: 23 años, 1 mes
Puntos: 22
Como hacer esto ??

Alguien me puede decir cómo se hace lo que está en esta page ???

Desde un archivo en Flash marcan texto que está escrito en la misma página, no lo había visto, todo el sitio está hecho con el Studio MX

Thx

<a href='ir.asp?http://www.borealski.com/tahoe/SITE/top/listing.cfm/activity/476/0/direct?c=1' target='_blank'>http://www.borealski.com/tahoe/SITE/top/...</a>
  #2 (permalink)  
Antiguo 21/06/2002, 13:05
 
Fecha de Ingreso: mayo-2001
Mensajes: 452
Antigüedad: 22 años, 11 meses
Puntos: 1
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:
Selection (object)

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 &quot;focus&quot; 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.



Selection.setSelection

Availability


Flash Player 5.

Usage


Selection.setSelection(start, end)
Parameters


start The beginning index of the selection span.

end The ending index of the selection span.

Returns


Nothing.

Description


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.

Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 06:24.