EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Findtext (Textsnapshot.findtext Method)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TextSnapshot 1253
Methods inherited from class Object
findText (TextSnapshot.findText method)
public findText(startIndex:Number, textToFind:String,
caseSensitive:Boolean) : Number
Searches the specified TextSnapshot object and returns the position of the first occurrence of
textToFind found at or after startIndex. If textToFind is not found, the method returns -
1
.
Availability: ActionScript 1.0; Flash Player 7 - The SWF file must be published for Flash
Player 6 or later, and must be played in Flash Player 7 or later.
Parameters
startIndex:Number - Specifies the starting index point in the TextSnapshot text at which to
search for the specified text.
textToFind:String - The text to search for. Specify either a String literal (enclosed in
quotation marks) or a variable.
caseSensitive:Boolean - Boolean value that specifies whether the found text must match
the case of the string in
textToFind (true); otherwise false.
Returns
Number - The zero-based index position of the first occurrence of the specified text, or -1 if no
text matched.
addProperty (Object.addProperty method), hasOwnProperty
(Object.hasOwnProperty method), isPropertyEnumerable
(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf
method), registerClass (Object.registerClass method), toString
(Object.toString method), unwatch (Object.unwatch method), valueOf
(Object.valueOf method), watch (Object.watch method)

Table of Contents

Related product manuals