MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 1252

Actionscript 2.0 language reference
Table of Contents

Advertisement

Method summary
Modifiers
Signature
findText(startIndex:
Number,
textToFind:String,
caseSensitive:Boolea
n) : Number
getCount() : Number
getSelected(start:Nu
mber, [end:Number])
: Boolean
getSelectedText([inc
ludeLineEndings:Bool
ean]) : String
getText(start:Number
, end:Number,
[includeLineEndings:
Boolean]) : String
getTextRunInfo(begin
Index:Number,
endIndex:Number) :
Array
hitTestTextNearPos(x
:Number, y:Number,
[closeDist:Number])
: Number
setSelectColor(color
:Number) : Void
setSelected(start:Nu
mber, end:Number,
select:Boolean) :
Void
1252
ActionScript classes
Description
Searches the specified TextSnapshot object and
returns the position of the first occurrence of
textToFind found at or after startIndex.
Returns the number of characters in a TextSnapshot
object.
Returns a Boolean value that specifies whether a
TextSnapshot object contains selected text in the
specified range.
Returns a string that contains all the characters
specified by the corresponding
TextSnapshot.setSelected() method.
Returns a string that contains all the characters
specified by the start and end parameters.
Returns an array of objects that contains information
about a run of text.
Lets you determine which character within a
TextSnapshot object is on or near the specified x, y
coordinates of the movie clip containing the text in the
TextSnapshot object.
Specifies the color to use when highlighting
characters that were selected with the
TextSnapshot.setSelected() method.
Specifies a range of characters in a TextSnapshot
object to be selected or not.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents