Several methods in FlashPaper use or return an object of this type.
ActionScript 1.0; Flash Player 6
Property summary
Property | Description |
---|---|
headPageIdx:Number |
The page to start selecting text. |
headCharIdx:Number |
The character to start selecting text. |
tailPageIdx:Number |
The page to end selecting text. |
tailCharIdx:Number |
The character to end selecting text. |
Method summary
Method | Description |
---|---|
equals(that:FlashPaper.SelectionRange) : Boolean |
Compares two SelectionRange objects to see if they are equal. |
var mySelectionRange:FlashPaper.SelectionRange = new FlashPaper.SelectionRange();
Creates an instance of the SelectionRange class.
mySelectionRange.equals(anotherSelectionRange);
that:FlashPaper.SelectionRange
- SelectionRange object to compare against.
Returns true if the two SelectionRange objects are the same and false if they are not.
Compares two SelectionRange objects to see if they are equal.
mySelectionRange.headPageIdx = pageNumber;
The page to start selecting text.
mySelectionRange.headCharIdx = charNumber;
The character to start selecting text.
mySelectionRange.tailPageIdx = pageNumber;
The page to end selecting text.
mySelectionRange.tailCharIdx = charNumber;
The character to end selecting text.