![]() |
種 類 |
プロパティ | Read Only | ||||
---|---|---|---|---|---|---|
バージョン |
|
書 式 | Key.CONTROL |
---|---|
解 説 | Key.CONTROLはControlキーのキーコードを返します。ただしMacintosh (MacOS 9)ではControlキーはコンテキストメニュー表示に利用されるためControlキー入力チェックは機能しません。 |
コード | if (Key.isDown(Key.CONTROL)) { _root.myText = "Hit!"; }else{ _root.myText = "-"; } |
■サンプルスクリプトをダウンロードする >>sample.zip ■サンプルスクリプトを実行する >>sample |