UP

種  類
プロパティ Read Only
バージョン
FLASH
5
LiveMotion
2

書  式
Key.UP

解  説
Key.UPはカーソルキーの↑キーのキーコードを返します。


コード
if (Key.isDown(Key.
UP))
{
_root.myText = "Hit!";
}else{
_root.myText = "-";
}



■サンプルスクリプトをダウンロードする >>sample.zip
■サンプルスクリプトを実行する >>sample