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