| 種 類 |
メソッド | - | ||||
|---|---|---|---|---|---|---|
| バージョン |
|
|||||
| 書 式 | Selection.getEndIndex() |
|---|---|
| 解 説 | Selection.getEndIndex()は現在フォーカスされているテキストボックスの選択範囲の終了位置を返します。テキストボックスにフォーカスされていない場合は-1を返します。 |
| コード | _root.myText = Selection.getEndIndex(); |
| ■サンプルスクリプトをダウンロードする >>sample.zip ■サンプルスクリプトを実行する >>sample |