| 種 類 |
メソッド | - | ||||
|---|---|---|---|---|---|---|
| バージョン |
|
|||||
| 書 式 | Selection.getFocus() |
|---|---|
| 解 説 | Selection.getFocus()は現在フォーカスされているテキストボックスを返します。どこもフォーカスされていない場合はnullを返します。 |
| コード | _root.myText = Selection.getFocus(); |
| ■サンプルスクリプトをダウンロードする >>sample.zip ■サンプルスクリプトを実行する >>sample |